Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150429
b: refs/heads/master
c: 4ef699f
h: refs/heads/master
i:
  150427: 63964ac
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed May 22, 2009
1 parent 367a23f commit e767dd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 87057825824973f29cf2f37cff1e549170b2d7e6
refs/heads/master: 4ef699fb771d347b31ddafd214c0dd47b90f7f0f
9 changes: 5 additions & 4 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -1389,8 +1389,8 @@ static void ieee80211_associated(struct ieee80211_sub_if_data *sdata)
ifmgd->flags |= IEEE80211_STA_PROBEREQ_POLL;
ieee80211_send_probe_req(sdata, ifmgd->bssid, ifmgd->ssid,
ifmgd->ssid_len, NULL, 0);
mod_timer(&ifmgd->timer, jiffies + IEEE80211_PROBE_WAIT);
goto unlock;

}

if (time_after(jiffies, sta->last_rx + IEEE80211_PROBE_IDLE_TIME)) {
Expand All @@ -1399,15 +1399,16 @@ static void ieee80211_associated(struct ieee80211_sub_if_data *sdata)
ifmgd->ssid_len, NULL, 0);
}

if (!disassoc)
mod_timer(&ifmgd->timer,
jiffies + IEEE80211_MONITORING_INTERVAL);

unlock:
rcu_read_unlock();

if (disassoc)
ieee80211_set_disassoc(sdata, true, true,
WLAN_REASON_PREV_AUTH_NOT_VALID);
else
mod_timer(&ifmgd->timer, jiffies +
IEEE80211_MONITORING_INTERVAL);
}


Expand Down

0 comments on commit e767dd9

Please sign in to comment.