iwlwifi: mvm: set wep key for all stations in soft ap mode
authorAvraham Stern <avraham.stern@intel.com>
Mon, 4 Jun 2018 12:10:18 +0000 (15:10 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 28 Sep 2018 05:57:27 +0000 (08:57 +0300)
commit337bfc9881a277a973aa6a58418d281557ab6cdd
tree88d61a72ead1f7713bc8bacdc380ba6b44dedf81
parent7126b6f2bbdf8e25f85e7ca6d91d49ea4ce9f6a6
iwlwifi: mvm: set wep key for all stations in soft ap mode

When operating as a soft ap with wep security, the key was not
configured to the fw for the stations, based on the fact that the
key will be specified in the tx command.

However, in the new tx api the tx command does not include the key,
which resulted in all data frames going out un-encrypted.

Fix it by configuring the key for all the stations as they are added.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/sta.c