mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: Update peer mac address to set NUDGE as active command
While parsing the nudge command, the peer mac address is not copied to the params structure passed to sme. So while Nudge active command, since peer mac address is NULL, the driver is not able to get the peer object and set the Nudge active command fails. Copy the peer mac address to set the active command to peer object, so that when nudge command response is received, the response is not dropped due to active command is not nudge. Change-Id: I11b11b3187dff5a79d0f79106c21d60d04edc17b CRs-Fixed: 2888903
This commit is contained in:
parent
f963f924f9
commit
6b50526805
1 changed files with 4 additions and 0 deletions
|
|
@ -2072,6 +2072,10 @@ static int hdd_twt_nudge_session(struct hdd_adapter *adapter,
|
|||
nla_memcpy(params.peer_macaddr, tb[id], QDF_MAC_ADDR_SIZE);
|
||||
hdd_debug("peer mac_addr "QDF_MAC_ADDR_FMT,
|
||||
QDF_MAC_ADDR_REF(params.peer_macaddr));
|
||||
} else {
|
||||
qdf_mem_copy(params.peer_macaddr,
|
||||
hdd_sta_ctx->conn_info.bssid.bytes,
|
||||
QDF_MAC_ADDR_SIZE);
|
||||
}
|
||||
|
||||
id = QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_FLOW_ID;
|
||||
|
|
|
|||
Loading…
Reference in a new issue