]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/mac80211/mlme.c
mac80211: HE STA disassoc due to QOS NULL not sent
[linux.git] / net / mac80211 / mlme.c
index 225633d9e2d4bd5b6fcb2c593f1aa02068c082ff..e89ed800f01259be1f8c6549e935f39dcd44ac37 100644 (file)
@@ -2512,7 +2512,10 @@ static void ieee80211_mgd_probe_ap_send(struct ieee80211_sub_if_data *sdata)
 
        if (ieee80211_hw_check(&sdata->local->hw, REPORTS_TX_ACK_STATUS)) {
                ifmgd->nullfunc_failed = false;
-               ieee80211_send_nullfunc(sdata->local, sdata, false);
+               if (!(ifmgd->flags & IEEE80211_STA_DISABLE_HE))
+                       ifmgd->probe_send_count--;
+               else
+                       ieee80211_send_nullfunc(sdata->local, sdata, false);
        } else {
                int ssid_len;