From: Sujith Manoharan <c_manoha@xxxxxxxxxxxxxxxx> With drivers that support multi-channel concurrency, make sure that the correct context is in use before sending a deauth frame. The driver could be in a different context, in which case the frame could be dropped. Signed-off-by: Sujith Manoharan <c_manoha@xxxxxxxxxxxxxxxx> --- net/mac80211/mlme.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 2de8870..43332ce 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -4606,6 +4606,7 @@ int ieee80211_mgd_deauth(struct ieee80211_sub_if_data *sdata, req->bssid, req->reason_code, ieee80211_get_reason_code_string(req->reason_code)); + drv_mgd_prepare_tx(sdata->local, sdata); ieee80211_set_disassoc(sdata, IEEE80211_STYPE_DEAUTH, req->reason_code, tx, frame_buf); cfg80211_tx_mlme_mgmt(sdata->dev, frame_buf, -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html