]> 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)
commit9cf947b8a258f48f9f91287bab28cbc4c2b29755
tree4981644ea18a1f4029e2626246b4bd81e8ca966f
parent3331d5431c3c7f4aa163f3ffc64c9836bbbde32b
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