Browse Source

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
Sandeep Puligilla 4 years ago
parent
commit
69a2d503d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/hdd/src/wlan_hdd_cfg80211.c

+ 1 - 1
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 *)&param->peerMacAddr,
+					    (uint8_t *)&sta_info->sta_mac,
 					    param->reason_code, 0);
 
 	qdf_status = hdd_softap_sta_deauth(adapter, param);