iwlwifi: mvm: fix assert 0x2B00 on older FWs
authorSara Sharon <sara.sharon@intel.com>
Sun, 7 Jan 2018 12:30:49 +0000 (14:30 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 2 Mar 2018 08:20:00 +0000 (10:20 +0200)
commit63dd5d022f4766e6b05ee611124afcc7cbfbb953
tree1a1f964ac87f7aaf52f23494438c6016f188798d
parent40d53f4a60c9eb10d4fa58066c23ba1af8a59e39
iwlwifi: mvm: fix assert 0x2B00 on older FWs

We should add the multicast station before adding the
broadcast station.

However, in older FW, the firmware will start beaconing
when we add the multicast station, and since the broadcast
station is not added at this point so the transmission
of the beacon will fail on assert 0x2b00.

This is fixed in later firmware, so make the order
of addition depend on the TLV.

Fixes: 26d6c16bed53 ("iwlwifi: mvm: add multicast station")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c