diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-04-01 21:34:59 +0300 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-04-13 09:36:01 +0300 |
commit | 003e3c4e45bfb5b5b7793df8f786989791ef763e (patch) | |
tree | d0ae3c5c1e2376a1d88541ef5d52262cd6cbacca /drivers/net/wireless/iwlwifi | |
parent | 1b8ebbd3cd6c42f5f2d199a6369040cde0220dc7 (diff) | |
download | blackbird-op-linux-003e3c4e45bfb5b5b7793df8f786989791ef763e.tar.gz blackbird-op-linux-003e3c4e45bfb5b5b7793df8f786989791ef763e.zip |
iwlwifi: mvm: don't enable bcast filtering on P2P client
The firmware doesn't support broadcast filtering on P2P
client. Trying to enable it makes the firmware assert.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mac80211.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c index 4dd9ff43b8b6..01b4228fb856 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c @@ -1223,6 +1223,10 @@ static int iwl_mvm_configure_bcast_filter(struct iwl_mvm *mvm, if (!(mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_BCAST_FILTERING)) return 0; + /* bcast filtering isn't supported for P2P client */ + if (vif->p2p) + return 0; + if (!iwl_mvm_bcast_filter_build_cmd(mvm, &cmd)) return 0; |