Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149897
b: refs/heads/master
c: a4ed90d
h: refs/heads/master
i:
  149895: 1121522
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Apr 22, 2009
1 parent 708ea8c commit 12617f0
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 3eb9296970e70902593b15ed3080e389954cf5f5
refs/heads/master: a4ed90d60c39c5aef9a170d7693f61175acb22e0
6 changes: 4 additions & 2 deletions trunk/net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1070,12 +1070,14 @@ static void handle_reg_beacon(struct wiphy *wiphy,
if (likely(chan->center_freq != reg_beacon->chan.center_freq))
return;

if (chan->flags & IEEE80211_CHAN_PASSIVE_SCAN) {
if ((chan->flags & IEEE80211_CHAN_PASSIVE_SCAN) &&
!(chan->orig_flags & IEEE80211_CHAN_PASSIVE_SCAN)) {
chan->flags &= ~IEEE80211_CHAN_PASSIVE_SCAN;
REG_DEBUG_BEACON_FLAG("active scanning");
}

if (chan->flags & IEEE80211_CHAN_NO_IBSS) {
if ((chan->flags & IEEE80211_CHAN_NO_IBSS) &&
!(chan->orig_flags & IEEE80211_CHAN_NO_IBSS)) {
chan->flags &= ~IEEE80211_CHAN_NO_IBSS;
REG_DEBUG_BEACON_FLAG("beaconing");
}
Expand Down

0 comments on commit 12617f0

Please sign in to comment.