rtl8180: avoid potential NULL deref in rtl8180_beacon_work
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Aug 2010 17:46:27 +0000 (13:46 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Aug 2010 20:05:27 +0000 (16:05 -0400)
commit8f1d2d2be73a98c21e68fe2a26f633892d4abdd1
tree347a1a6a0621a151151590fd4baa22dcff1c8c35
parentc5d2711cb508ff8bc76d88fe442d1c27fb136245
rtl8180: avoid potential NULL deref in rtl8180_beacon_work

ieee80211_beacon_get can return NULL...

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Cc: stable@kernel.org
drivers/net/wireless/rtl818x/rtl8180_dev.c