diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2009-10-22 20:21:36 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-06 16:54:39 -0500 |
commit | c0adae2caa1a152c6ec691c5d1e815e47dac2a0c (patch) | |
tree | cbe1166a50c43e09511c3db6b0e6b5369c2427a9 /drivers/net/wireless/mwl8k.c | |
parent | 08b063477e45cb366df7204cbcdc79ff86513ef9 (diff) | |
download | blackbird-op-linux-c0adae2caa1a152c6ec691c5d1e815e47dac2a0c.tar.gz blackbird-op-linux-c0adae2caa1a152c6ec691c5d1e815e47dac2a0c.zip |
mwl8k: add AP firmware handling to ->configure_filter()
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index 59219fdb342d..19c6bea1bc48 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c @@ -3014,6 +3014,16 @@ static void mwl8k_configure_filter(struct ieee80211_hw *hw, struct mwl8k_cmd_pkt *cmd = (void *)(unsigned long)multicast; /* + * AP firmware doesn't allow fine-grained control over + * the receive filter. + */ + if (priv->ap_fw) { + *total_flags &= FIF_ALLMULTI | FIF_BCN_PRBRESP_PROMISC; + kfree(cmd); + return; + } + + /* * Enable hardware sniffer mode if FIF_CONTROL or * FIF_OTHER_BSS is requested. */ |