]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab9fe08fe285f4f0d78871dd72c48daad1e9e32e
tree88d61a72ead1f7713bc8bacdc380ba6b44dedf81
parentf9eb25664d75ce161902c8176ff2a5adcc23967a
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