]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix crash in cfg80211_set_freq()
authorFelix Fietkau <nbd@openwrt.org>
Sat, 15 May 2010 13:46:17 +0000 (15:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 21 May 2010 18:40:00 +0000 (14:40 -0400)
commit8d982f766779d99bb9a1a806b0147fdcf13eed3a
tree7cd2283f43fcae0ce5779cffd976579977757989
parent18651fd54db3269bcdcb59fca7349dfac777dbde
cfg80211: fix crash in cfg80211_set_freq()

Since wdev can be NULL, check it before dereferencing it

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/chan.c