mac80211: fix warnings in ieee80211_if_config
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 13 Mar 2009 10:19:45 +0000 (11:19 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:12:52 +0000 (20:12 -0400)
commitb5bde374f0f61f5d97114d400ade8fc96bf6f10d
treeff38550fa535c78fbc0e1fd15077453ba83ab366
parentcee075a24eec64f1f5b2b3b14753b2d4b8ecce55
mac80211: fix warnings in ieee80211_if_config

The last warning can never trigger, and the explicit AP_VLAN
check is pointless if we move the config_interface check down,
in practice config_interface is required anyway.

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