diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index b3b3c264ff66..04c306308987 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -1522,6 +1522,8 @@ static void ieee80211_mgd_probe_ap_send(struct ieee80211_sub_if_data *sdata) | |||
1522 | * anymore. The timeout will be reset if the frame is ACKed by | 1522 | * anymore. The timeout will be reset if the frame is ACKed by |
1523 | * the AP. | 1523 | * the AP. |
1524 | */ | 1524 | */ |
1525 | ifmgd->probe_send_count++; | ||
1526 | |||
1525 | if (sdata->local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS) { | 1527 | if (sdata->local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS) { |
1526 | ifmgd->nullfunc_failed = false; | 1528 | ifmgd->nullfunc_failed = false; |
1527 | ieee80211_send_nullfunc(sdata->local, sdata, 0); | 1529 | ieee80211_send_nullfunc(sdata->local, sdata, 0); |
@@ -1538,7 +1540,6 @@ static void ieee80211_mgd_probe_ap_send(struct ieee80211_sub_if_data *sdata) | |||
1538 | 0, (u32) -1, true, false); | 1540 | 0, (u32) -1, true, false); |
1539 | } | 1541 | } |
1540 | 1542 | ||
1541 | ifmgd->probe_send_count++; | ||
1542 | ifmgd->probe_timeout = jiffies + msecs_to_jiffies(probe_wait_ms); | 1543 | ifmgd->probe_timeout = jiffies + msecs_to_jiffies(probe_wait_ms); |
1543 | run_again(ifmgd, ifmgd->probe_timeout); | 1544 | run_again(ifmgd, ifmgd->probe_timeout); |
1544 | if (sdata->local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS) | 1545 | if (sdata->local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS) |