]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: push interface checks down
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 9 Jul 2008 12:40:36 +0000 (14:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jul 2008 18:30:07 +0000 (14:30 -0400)
commitaf00f9bd93203c6801348a66a9ea294c58454bf2
tree3f68e55a214e638f1210883958d0746610c9dcf8
parent99700b8c684ca7d2160bde2a84c2bdf552c43a6f
mac80211: push interface checks down

This patch pushes the "netif_running()" and "same type as before"
checks down into ieee80211_if_change_type() to centralise the
logic instead of duplicating it for cfg80211 and wext.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/wext.c