iwlwifi: mvm: refactor key add/remove functions
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Nov 2014 22:39:56 +0000 (23:39 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:15 +0000 (08:30 +0200)
commit2f6319d1cf5df2bc01637496296d755e3312c030
tree601f0eddbd05ccb3eff16228b9ec9ce9eb70ae42
parentbf5da87f60a920599c46382d95b8e9c4ef8da37e
iwlwifi: mvm: refactor key add/remove functions

Refactor the key add/remove functions to be able to reuse parts
of them later for RX WEP keys, which need to be uploaded twice.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/sta.c