qcacmn: Fix compilation warnings in TDLS

Fix the warning issue in TDLS, which popped up with newer
compiler options.

Change-Id: I1516a47ec01faa9315d2045ebcfe49097680e80d
CRs-Fixed: 2215517
This commit is contained in:
Kabilan Kannan
2018-03-29 12:27:35 -07:00
committed by nshrivas
parent 80bfeb949d
commit 0cc3fc4ad8

View File

@@ -284,7 +284,7 @@ static QDF_STATUS tdls_activate_send_mgmt_request(
qdf_mem_copy(tdls_mgmt_req->peer_mac.bytes,
action_req->tdls_mgmt.peer_mac.bytes, QDF_MAC_ADDR_SIZE);
if (action_req->tdls_mgmt.len && action_req->tdls_mgmt.buf) {
if (action_req->tdls_mgmt.len) {
qdf_mem_copy(tdls_mgmt_req->add_ie, action_req->tdls_mgmt.buf,
action_req->tdls_mgmt.len);
}