]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: ibss: fix ignored channel parameter
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Wed, 21 Aug 2013 13:30:25 +0000 (15:30 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Aug 2013 13:33:08 +0000 (15:33 +0200)
commit4ec54be270fdb837981774671c1954126553e8fa
tree4981644ea18a1f4029e2626246b4bd81e8ca966f
parent460aabf0d6fd6464796c3eb871d396103af9020b
mac80211: ibss: fix ignored channel parameter

my earlier patch "mac80211: change IBSS channel state to chandef"
created a regression by ignoring the channel parameter in
__ieee80211_sta_join_ibss, which breaks IBSS channel selection. This
patch fixes this situation by using the right channel and adopting the
selected bandwidth mode.

Cc: stable@vger.kernel.org
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c