Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290698
b: refs/heads/master
c: 494f1fe
h: refs/heads/master
v: v3
  • Loading branch information
Eliad Peller authored and John W. Linville committed Feb 27, 2012
1 parent b60a895 commit 3d871bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: c393862faad6aa200ce3fbf03735eb54361e6a4c
refs/heads/master: 494f1fe559748a54bb30c066057dfae02d29676e
8 changes: 6 additions & 2 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -2974,13 +2974,17 @@ static void ieee80211_sta_monitor_work(struct work_struct *work)

static void ieee80211_restart_sta_timer(struct ieee80211_sub_if_data *sdata)
{
u32 flags;

if (sdata->vif.type == NL80211_IFTYPE_STATION) {
sdata->u.mgd.flags &= ~(IEEE80211_STA_BEACON_POLL |
IEEE80211_STA_CONNECTION_POLL);

/* let's probe the connection once */
ieee80211_queue_work(&sdata->local->hw,
&sdata->u.mgd.monitor_work);
flags = sdata->local->hw.flags;
if (!(flags & IEEE80211_HW_CONNECTION_MONITOR))
ieee80211_queue_work(&sdata->local->hw,
&sdata->u.mgd.monitor_work);
/* and do all the other regular work too */
ieee80211_queue_work(&sdata->local->hw, &sdata->work);
}
Expand Down

0 comments on commit 3d871bd

Please sign in to comment.