aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwl8k.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r--drivers/net/wireless/mwl8k.c10
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,
3014 struct mwl8k_cmd_pkt *cmd = (void *)(unsigned long)multicast; 3014 struct mwl8k_cmd_pkt *cmd = (void *)(unsigned long)multicast;
3015 3015
3016 /* 3016 /*
3017 * AP firmware doesn't allow fine-grained control over
3018 * the receive filter.
3019 */
3020 if (priv->ap_fw) {
3021 *total_flags &= FIF_ALLMULTI | FIF_BCN_PRBRESP_PROMISC;
3022 kfree(cmd);
3023 return;
3024 }
3025
3026 /*
3017 * Enable hardware sniffer mode if FIF_CONTROL or 3027 * Enable hardware sniffer mode if FIF_CONTROL or
3018 * FIF_OTHER_BSS is requested. 3028 * FIF_OTHER_BSS is requested.
3019 */ 3029 */