summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwmc3200wifi/commands.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2009-10-16 07:18:55 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 21:48:26 +0100
commit708567e0723f3a217286c2b60805af6de360ec50 (patch)
tree7ae30ebce5cf1fcdee80ce985ad1272ef3e82342 /drivers/net/wireless/iwmc3200wifi/commands.c
parentiwmc3200wifi: SDIO disable race fix (diff)
downloadlinux-708567e0723f3a217286c2b60805af6de360ec50.tar.xz
linux-708567e0723f3a217286c2b60805af6de360ec50.zip
iwmc3200wifi: Check for cmd pointer before dereferencing it
The wifi_if_wrapper notification handling code uses a cmd pointer without checking if it's valid or not. We're dereferencing it because we assume that we only get to that point if there was a pending command for us. That's not always true, so we'd better check. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/commands.c')
0 files changed, 0 insertions, 0 deletions