]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: check if vif is NULL before using it
authorSharon Dvir <sharon.dvir@intel.com>
Mon, 25 Jul 2016 13:11:05 +0000 (16:11 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 29 Aug 2016 19:29:04 +0000 (22:29 +0300)
commit89d337a43907074492b49531df1c401308142cd0
treeedda423f41f03d9bb84c750d7e8f5471ea8d1ba0
parent3812a018b86d4b2fbbdb017676be4c55ea8dc98c
iwlwifi: mvm: check if vif is NULL before using it

wdev_to_ieee80211_vif() might return NULL.
Check that vif != NULL before dereferencing it.

Signed-off-by: Sharon Dvir <sharon.dvir@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h