[PATCH] mac80211: fix set_channel regression
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 12 Oct 2007 19:24:07 +0000 (21:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 17 Oct 2007 00:58:12 +0000 (20:58 -0400)
commit58a9ac17ed7a78958d03f3b4af107f0ef075cbed
treea320ca97161ad4ce6bd2d25654284a6ae9b5ceed
parente797aa1b7da6bfcb2e19a10ae5ead9aa7aea732b
[PATCH] mac80211: fix set_channel regression

Adam Baker reported that the prism2 ioctl removal changed behaviour
in that now the selection order was the other way around as before.
New API is planned but not done yet, so for now just use the first
matching channel in any mode as was previous behaviour with an unset
next_mode.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_ioctl.c