Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278931
b: refs/heads/master
c: cd6c524
h: refs/heads/master
i:
  278929: 6376430
  278927: 9fef769
v: v3
  • Loading branch information
Dmitry TARNYAGIN authored and John W. Linville committed Dec 13, 2011
1 parent 2b3e747 commit be5fbfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 6539306b2c3ceafbc4094cf68c58094c282da053
refs/heads/master: cd6c524e9e0b5ad8ce52bc3b4a3a1e272e3a8410
6 changes: 3 additions & 3 deletions trunk/net/mac80211/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void ieee80211_configure_filter(struct ieee80211_local *local)
if (atomic_read(&local->iff_allmultis))
new_flags |= FIF_ALLMULTI;

if (local->monitors || local->scanning)
if (local->monitors || test_bit(SCAN_SW_SCANNING, &local->scanning))
new_flags |= FIF_BCN_PRBRESP_PROMISC;

if (local->fif_probe_req || local->probe_req_reg)
Expand Down Expand Up @@ -150,8 +150,8 @@ int ieee80211_hw_config(struct ieee80211_local *local, u32 changed)
changed |= IEEE80211_CONF_CHANGE_SMPS;
}

if ((local->scanning & SCAN_SW_SCANNING) ||
(local->scanning & SCAN_HW_SCANNING))
if (test_bit(SCAN_SW_SCANNING, &local->scanning) ||
test_bit(SCAN_HW_SCANNING, &local->scanning))
power = chan->max_power;
else
power = local->power_constr_level ?
Expand Down

0 comments on commit be5fbfe

Please sign in to comment.