iwlwifi: mvm: Avoid dereferencing sta if it was already flushed
authorAvri Altman <avri.altman@intel.com>
Mon, 19 Oct 2015 14:29:11 +0000 (16:29 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 15 Nov 2015 19:18:01 +0000 (21:18 +0200)
commit9513c5e18a0dc55a1fc9c890715098ba2315830b
tree56b156270c1d9dfa936c5422346fb51e85dc5ba6
parentd6ee54a9d7c807cdb8eb77d7f019cce344c2162c
iwlwifi: mvm: Avoid dereferencing sta if it was already flushed

Be a little bit more careful when dereferencing sta on key removal,
As it might already get flushed on other thread.

Signed-off-by: Avri Altman <avri.altman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/sta.c