iwlwifi: mvm: Direct multicast frames to the correct station
authorIlan Peer <ilan.peer@intel.com>
Mon, 22 Jan 2018 06:55:06 +0000 (08:55 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 2 Mar 2018 08:20:02 +0000 (10:20 +0200)
commit7c305de2b9548ab6b65fce342c78618bbed5db73
tree23dbd26e1652a0c74db383c0d1a4ff76172279c6
parente4f13ad07823b24a1537518d2163bd164292fb10
iwlwifi: mvm: Direct multicast frames to the correct station

Multicast frames for NL80211_IFTYPE_AP and NL80211_IFTYPE_ADHOC were
directed to the broadcast station, however, as the broadcast station
did not have keys configured, these frames were sent unencrypted.

Fix this by using the multicast station which is the station for which
encryption keys are configured.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c