Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171391
b: refs/heads/master
c: 77165d8
h: refs/heads/master
i:
  171389: cb69ff8
  171387: bab4857
  171383: 8e1b9b1
  171375: 35b2700
  171359: f57698c
  171327: f0bd9d3
  171263: 24329e7
v: v3
  • Loading branch information
Lennert Buytenhek authored and John W. Linville committed Nov 4, 2009
1 parent 0cf4b77 commit 02402d3
Show file tree
Hide file tree
Showing 2 changed files with 15 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: 447ced07d04525218ae586cd70b759b48bcb1fc8
refs/heads/master: 77165d8809cda1a77bc8752148a6252d7735c12e
17 changes: 14 additions & 3 deletions trunk/drivers/net/wireless/mwl8k.c
Original file line number Diff line number Diff line change
Expand Up @@ -2705,12 +2705,23 @@ static void mwl8k_configure_filter(struct ieee80211_hw *hw,
return;

if (changed_flags & FIF_BCN_PRBRESP_PROMISC) {
if (*total_flags & FIF_BCN_PRBRESP_PROMISC)
if (*total_flags & FIF_BCN_PRBRESP_PROMISC) {
/*
* Disable the BSS filter.
*/
mwl8k_cmd_set_pre_scan(hw);
else {
} else {
u8 *bssid;

bssid = "\x00\x00\x00\x00\x00\x00";
/*
* Enable the BSS filter.
*
* If there is an active STA interface, use that
* interface's BSSID, otherwise use a dummy one
* (where the OUI part needs to be nonzero for
* the BSSID to be accepted by POST_SCAN).
*/
bssid = "\x01\x00\x00\x00\x00\x00";
if (priv->vif != NULL)
bssid = MWL8K_VIF(priv->vif)->bssid;

Expand Down

0 comments on commit 02402d3

Please sign in to comment.