|
|
@@ -487,6 +487,14 @@ static void wmi_evt_connect(struct wil6210_priv *wil, int id, void *d, int len)
|
|
|
return;
|
|
|
}
|
|
|
del_timer_sync(&wil->connect_timer);
|
|
|
+ } else if ((wdev->iftype == NL80211_IFTYPE_AP) ||
|
|
|
+ (wdev->iftype == NL80211_IFTYPE_P2P_GO)) {
|
|
|
+ if (wil->sta[evt->cid].status != wil_sta_unused) {
|
|
|
+ wil_err(wil, "%s: AP: Invalid status %d for CID %d\n",
|
|
|
+ __func__, wil->sta[evt->cid].status, evt->cid);
|
|
|
+ mutex_unlock(&wil->mutex);
|
|
|
+ return;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/* FIXME FW can transmit only ucast frames to peer */
|