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:
@@ -284,7 +284,7 @@ static QDF_STATUS tdls_activate_send_mgmt_request(
|
|||||||
qdf_mem_copy(tdls_mgmt_req->peer_mac.bytes,
|
qdf_mem_copy(tdls_mgmt_req->peer_mac.bytes,
|
||||||
action_req->tdls_mgmt.peer_mac.bytes, QDF_MAC_ADDR_SIZE);
|
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,
|
qdf_mem_copy(tdls_mgmt_req->add_ie, action_req->tdls_mgmt.buf,
|
||||||
action_req->tdls_mgmt.len);
|
action_req->tdls_mgmt.len);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user