]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cfg80211: add two missing NULL pointer checks
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 29 Jul 2009 20:07:44 +0000 (22:07 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 16 Aug 2009 21:18:37 +0000 (14:18 -0700)
commit0d88ecb27391b7bad5b5e3c1c815860b42f8aed2
tree1cb9d16bb32c494aaf96f74413baf418fedbf9b4
parent678af37c3b4195946ca3460477ba67fab6a750cf
cfg80211: add two missing NULL pointer checks

commit cd3468bad96c00b5a512f551674f36776129520e upstream.

These pointers can be NULL, the is_mesh() case isn't
ever hit in the current kernel, but cmp_ies() can be
hit under certain conditions.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/wireless/scan.c