|
@@ -1004,6 +1004,13 @@ void ath6kl_disconnect_event(struct ath6kl_vif *vif, u8 reason, u8 *bssid,
|
|
|
ar->last_ch = le16_to_cpu(vif->profile.ch);
|
|
|
}
|
|
|
|
|
|
+ if (prot_reason_status == WMI_AP_REASON_MAX_STA) {
|
|
|
+ /* send max client reached notification to user space */
|
|
|
+ cfg80211_conn_failed(vif->ndev, bssid,
|
|
|
+ NL80211_CONN_FAIL_MAX_CLIENTS,
|
|
|
+ GFP_KERNEL);
|
|
|
+ }
|
|
|
+
|
|
|
if (!ath6kl_remove_sta(ar, bssid, prot_reason_status))
|
|
|
return;
|
|
|
|