cfg80211: add two missing NULL pointer checks
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 29 Jul 2009 20:07:44 +0000 (22:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 Aug 2009 20:31:21 +0000 (16:31 -0400)
commitcd3468bad96c00b5a512f551674f36776129520e
treeb9b705149112b1403d5a23f09ae24a7eac515827
parenteb4ad826419ab5b1260bc1625249114767d36bea
cfg80211: add two missing NULL pointer checks

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>
Cc: stable@kernel.org [2.6.29, 2.6.30]
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/scan.c