]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Aug 2010 20:30:47 +0000 (13:30 -0700)
commitd3c5501ec90af293e011b036e9c5871b300d304e
treeeaed9e2ac5dbb21c8f970438379a99943bf2d6c1
parent563fd08347da83e595b07c8515b8b2f64033bcf6
rtl8180: avoid potential NULL deref in rtl8180_beacon_work

commit 8f1d2d2be73a98c21e68fe2a26f633892d4abdd1 upstream.

ieee80211_beacon_get can return NULL...

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/rtl818x/rtl8180_dev.c