]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: check if returned value is NULL
authorSharon Dvir <sharon.dvir@intel.com>
Tue, 21 Feb 2017 08:41:31 +0000 (10:41 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 25 Apr 2017 12:17:58 +0000 (15:17 +0300)
commitb9860bcf3fd079cacc00a63b0f3477fe376801e1
treedaa81ab72ab3229589750f438eb032aa4d82bd35
parentbd0460c9ac76eae538eed6088a629355c1493366
iwlwifi: mvm: check if returned value is NULL

While freeing inactive queue, check mvmsta to be valid before
dereferencing it.  Found by Klocwork.

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