qcacld-3.0: SAP sends broadcast disassoc to STA

SAP sends broadcast disassoc to associated stations
as part of the del station request from userspace.

hdd_softap_deauth_current_sta is sending broadcast
address to SME to send the disassoc frame instead
of associated STA address. Modified API to pass
the STA address.

Change-Id: I1645441804abef3c76f7deeff44ef929684c0bf1
CRs-Fixed: 2726960
This commit is contained in:
Sandeep Puligilla 2020-07-08 05:27:59 -07:00 • committed by nshrivas
commit 69a2d503d5

View file

@ -21055,7 +21055,7 @@ QDF_STATUS hdd_softap_deauth_current_sta(struct hdd_adapter *adapter,
if (!qdf_is_macaddr_broadcast(&sta_info->sta_mac))
sme_send_disassoc_req_frame(hdd_ctx->mac_handle,
adapter->vdev_id,
(uint8_t *)&param->peerMacAddr,
(uint8_t *)&sta_info->sta_mac,
param->reason_code, 0);
qdf_status = hdd_softap_sta_deauth(adapter, param);