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)
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>

No differences found