]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix "failed to remove key" message
authorSara Sharon <sara.sharon@intel.com>
Mon, 15 Jan 2018 11:50:59 +0000 (13:50 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 2 Mar 2018 08:20:01 +0000 (10:20 +0200)
commit0e8a663361e1aa3011ebc4ee7b9364ee31ec6bf2
tree042050cef992ea7c1b7007ce8191c72344fc4dee
parentd5da74ab08edb0e1e6440bfef10ab43c45b155e2
iwlwifi: mvm: fix "failed to remove key" message

When the GTK is installed, we install it to HW with the
station ID of the AP.

Mac80211 will try to remove it only after the AP sta is
removed, which will result in a failure to remove key
since we do not have any station for it.

This is a valid situation, but a previous commit removed
the early return and added a return with error value, which
resulted in an error message that is confusing to users.

Remove the error return value.

Fixes: c158cb20ae29 ("iwlwifi: mvm: Enable security on new TX API")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c