]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: mvm: handle FIF_ALLMULTI when setting multicast addresses
authorLuca Coelho <luciano.coelho@intel.com>
Fri, 1 Sep 2017 15:57:35 +0000 (18:57 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 8 Sep 2017 08:47:37 +0000 (11:47 +0300)
commit61e7d91bcf7725b9fcd9cbfc5fa0e0f84f19e6de
tree6ac3f3a86b7c30627bb686abbcdec77c7ac37279
parent97bce57bd7f96e1218751996f549a6e61f18cc8c
iwlwifi: mvm: handle FIF_ALLMULTI when setting multicast addresses

We were ignoring the FIF_ALLMULTI flag when setting the multicast
addresses with MCAST_FILTER_CMD.  Check if this flag is set and enable
pass_all accordingly.  We also need to set the count to 0 if pass_all
is enable so we don't pass addresses to the firmware when not needed
(as doing so causes an assert).

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=196741

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c