From 69a2d503d58a4717613b3b2255c8f6dbc541ccfb Mon Sep 17 00:00:00 2001 From: Sandeep Puligilla Date: Wed, 8 Jul 2020 05:27:59 -0700 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 549e93a65e3a..cc39b7d41c28 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -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 *)¶m->peerMacAddr, + (uint8_t *)&sta_info->sta_mac, param->reason_code, 0); qdf_status = hdd_softap_sta_deauth(adapter, param);