mac80211: update oper_channel on ibss join
authorEliad Peller <eliad@wizery.com>
Tue, 10 Jan 2012 13:19:54 +0000 (15:19 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:47:09 +0000 (14:47 -0500)
commitba1960257c5980f9b58057995ce3394bd8e48ca3
tree9b91a56e26f268d925e6b420ccaab58dbad15625
parent4f3d09de38d234ce7ffba5ec5a7e6704f983d375
mac80211: update oper_channel on ibss join

Commit 13c40c5 ("mac80211: Add HT operation modes for IBSS") broke
ibss operation by mistakenly removing the local->oper_channel
update (causing ibss to start on the wrong channel). fix it.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Acked-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ibss.c