|
@@ -1522,6 +1522,8 @@ static void ieee80211_mgd_probe_ap_send(struct ieee80211_sub_if_data *sdata)
|
|
|
* anymore. The timeout will be reset if the frame is ACKed by
|
|
|
* the AP.
|
|
|
*/
|
|
|
+ ifmgd->probe_send_count++;
|
|
|
+
|
|
|
if (sdata->local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS) {
|
|
|
ifmgd->nullfunc_failed = false;
|
|
|
ieee80211_send_nullfunc(sdata->local, sdata, 0);
|
|
@@ -1538,7 +1540,6 @@ static void ieee80211_mgd_probe_ap_send(struct ieee80211_sub_if_data *sdata)
|
|
|
0, (u32) -1, true, false);
|
|
|
}
|
|
|
|
|
|
- ifmgd->probe_send_count++;
|
|
|
ifmgd->probe_timeout = jiffies + msecs_to_jiffies(probe_wait_ms);
|
|
|
run_again(ifmgd, ifmgd->probe_timeout);
|
|
|
if (sdata->local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS)
|