cfg80211: make action channel type optional
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 19 May 2010 10:17:12 +0000 (12:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Jun 2010 20:13:27 +0000 (16:13 -0400)
commit252aa631f88080920a7083ac5a5844ffc5463629
treee1482e9cf7c7230acb9ed33c8a24687e48dc7aa1
parent4f424867dd4752d457458fec29ca57ce5d7dc4ac
cfg80211: make action channel type optional

When sending action frames, we want to verify
that we do that on the correct channel. However,
checking the channel type in addition can get in
the way, since the channel type could change on
the fly during an association, and it's not
useful to have the channel type anyway since it
has no effect on the transmission. Therefore,
make it optional to specify so that if wanted,
it can still be checked, but is not required.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/wireless/core.h
net/wireless/mlme.c
net/wireless/nl80211.c