diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-04-23 14:43:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-23 14:43:45 -0400 |
commit | 3b51cc996e81d8a113416d8094fa4a88f8360a51 (patch) | |
tree | e75b98b228bb4e456c30673fcc4b56ffa1d09cf5 /net/mac80211/mlme.c | |
parent | c68ed255265968c3948fa2678bf59d15c471b055 (diff) | |
parent | 672724403b42da1d276c6cf811e8e34d15efd964 (diff) |
Merge branch 'master' into for-davem
Conflicts:
drivers/net/wireless/ath/ath9k/phy.c
drivers/net/wireless/iwlwifi/iwl-6000.c
drivers/net/wireless/iwlwifi/iwl-debugfs.c
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 3133681bdaa0..425f66c70013 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -1333,12 +1333,17 @@ static void ieee80211_rx_mgmt_probe_resp(struct ieee80211_sub_if_data *sdata, | |||
1333 | mutex_lock(&sdata->local->iflist_mtx); | 1333 | mutex_lock(&sdata->local->iflist_mtx); |
1334 | ieee80211_recalc_ps(sdata->local, -1); | 1334 | ieee80211_recalc_ps(sdata->local, -1); |
1335 | mutex_unlock(&sdata->local->iflist_mtx); | 1335 | mutex_unlock(&sdata->local->iflist_mtx); |
1336 | |||
1337 | if (sdata->local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR) | ||
1338 | return; | ||
1339 | |||
1336 | /* | 1340 | /* |
1337 | * We've received a probe response, but are not sure whether | 1341 | * We've received a probe response, but are not sure whether |
1338 | * we have or will be receiving any beacons or data, so let's | 1342 | * we have or will be receiving any beacons or data, so let's |
1339 | * schedule the timers again, just in case. | 1343 | * schedule the timers again, just in case. |
1340 | */ | 1344 | */ |
1341 | mod_beacon_timer(sdata); | 1345 | mod_beacon_timer(sdata); |
1346 | |||
1342 | mod_timer(&ifmgd->conn_mon_timer, | 1347 | mod_timer(&ifmgd->conn_mon_timer, |
1343 | round_jiffies_up(jiffies + | 1348 | round_jiffies_up(jiffies + |
1344 | IEEE80211_CONNECTION_IDLE_TIME)); | 1349 | IEEE80211_CONNECTION_IDLE_TIME)); |