iwlwifi: mvm: Fix removal of IGTK
authorIlan Peer <ilan.peer@intel.com>
Mon, 16 Jan 2017 13:07:03 +0000 (15:07 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 8 Feb 2017 15:54:23 +0000 (17:54 +0200)
commitcd4d23c1ea9bb3769f2859b3b7b9ef24355bcba4
treea676262d0aa066076814296d5bdf9b3d88d66d73
parent735a0045f9ea8372bcf3e599cbd3aa891a216b26
iwlwifi: mvm: Fix removal of IGTK

When removing an IGTK, iwl_mvm_send_sta_igtk() was
called before station ID was retrieved, so the function
was invoked with an invalid station ID. Fix this by first
getting the station ID.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=192411
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c