mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Send appropriate NDP peer mac address for remove peer
Currently, wma->peer_macaddr is passed as peer mac address for NDP peer removal. This gets filled only when PEER_STATS_INFO is queried from firmware. This is not the right mac address to be sent for peer removal. Driver might attempt to remove an invalid peer(or NULL) which leads to assertion in wma_remove_peer. Get the peer mac address from tpDeleteStaParams which is sent from lim and pass it to wma_remove_peer. Change-Id: I90beb7edc1d6ad5790ed972dcb9d3ac42bc04ea7 CRs-Fixed: 2617918
This commit is contained in:
parent
7a562b0d3f
commit
a44ae3f2a3
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ send_rsp:
|
|||
void wma_delete_sta_req_ndi_mode(tp_wma_handle wma,
|
||||
tpDeleteStaParams del_sta)
|
||||
{
|
||||
wma_remove_peer(wma, wma->peer_macaddr.bytes,
|
||||
wma_remove_peer(wma, del_sta->staMac,
|
||||
del_sta->smesessionId, false);
|
||||
del_sta->status = QDF_STATUS_SUCCESS;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue