diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2017-03-30 12:04:47 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-06-05 21:47:09 +0300 |
commit | 71793b7d3eb0897ca0dc4a109ede608d3e2c70ed (patch) | |
tree | 9e0233fc4cb75624449c99aa14afd4f5fdc46478 /drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | |
parent | e4c49c4937951de1cdbe35572ade40c948dec1e1 (diff) | |
download | linux-71793b7d3eb0897ca0dc4a109ede608d3e2c70ed.tar.gz |
iwlwifi: mvm: don't fail when removing a key from an inexisting sta
The iwl_mvm_remove_sta_key() function handles removing a key when the
sta doesn't exist anymore. Mistakenly, this was changed to return an
error while fixing another bug.
If the mvm_sta doesn't exist, we continue normally, but just don't try
to remove the igtk key.
Fixes: cd4d23c1ea9b ("iwlwifi: mvm: Fix removal of IGTK")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c')
0 files changed, 0 insertions, 0 deletions