Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361067
b: refs/heads/master
c: 801d929
h: refs/heads/master
i:
  361065: fa32369
  361063: ef898ef
v: v3
  • Loading branch information
Felix Fietkau authored and Johannes Berg committed Mar 2, 2013
1 parent e3085cf commit a7c59dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 24af717c35189f7a83c34e637256ccb7295a617b
refs/heads/master: 801d929ca7d935ee199fd61d8ef914f51e892270
6 changes: 6 additions & 0 deletions trunk/net/mac80211/iface.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,9 @@ int ieee80211_do_open(struct wireless_dev *wdev, bool coming_up)

ieee80211_adjust_monitor_flags(sdata, 1);
ieee80211_configure_filter(local);
mutex_lock(&local->mtx);
ieee80211_recalc_idle(local);
mutex_unlock(&local->mtx);

netif_carrier_on(dev);
break;
Expand Down Expand Up @@ -812,6 +815,9 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata,

ieee80211_adjust_monitor_flags(sdata, -1);
ieee80211_configure_filter(local);
mutex_lock(&local->mtx);
ieee80211_recalc_idle(local);
mutex_unlock(&local->mtx);
break;
case NL80211_IFTYPE_P2P_DEVICE:
/* relies on synchronize_rcu() below */
Expand Down

0 comments on commit a7c59dd

Please sign in to comment.