cfg80211: fix wiphy remove if no regulatory request
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 1 Dec 2008 11:07:56 +0000 (12:07 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Dec 2008 14:35:45 +0000 (09:35 -0500)
commit4a4f4d805db5c930ee4185162dcdc8db9a0379d5
treeecda44146ae7936ada0e83b00245aeb63e1088bf
parent8bef7a10014c4579c66579ab47fc1bb9563ac42a
cfg80211: fix wiphy remove if no regulatory request

Fixes the segfault I just pointed out.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c