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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index 23a5a3442623..a04863633d1a 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -3196,8 +3196,10 @@ static void mwl8k_configure_filter(struct ieee80211_hw *hw,
3196 /* Clear unsupported feature flags */ 3196 /* Clear unsupported feature flags */
3197 *total_flags &= FIF_ALLMULTI | FIF_BCN_PRBRESP_PROMISC; 3197 *total_flags &= FIF_ALLMULTI | FIF_BCN_PRBRESP_PROMISC;
3198 3198
3199 if (mwl8k_fw_lock(hw)) 3199 if (mwl8k_fw_lock(hw)) {
3200 kfree(cmd);
3200 return; 3201 return;
3202 }
3201 3203
3202 if (priv->sniffer_enabled) { 3204 if (priv->sniffer_enabled) {
3203 mwl8k_cmd_enable_sniffer(hw, 0); 3205 mwl8k_cmd_enable_sniffer(hw, 0);