iwlwifi: mvm: fix theoretical NULL ptr dereference
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 18 Mar 2014 12:53:18 +0000 (14:53 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 18 Mar 2014 19:15:40 +0000 (21:15 +0200)
commitf718c2df22b0059a0856b16562dea1b9ed28b23f
tree9e00b424ad842e3ed8d7d6d39e35e8a5083b03a4
parent50df8a3065404b9b953b1ae1455dd991e04a9ab7
iwlwifi: mvm: fix theoretical NULL ptr dereference

mvmsta could have been NULL / ERR.

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