From: Emmanuel Grumbach Date: Sun, 30 Nov 2014 15:17:26 +0000 (+0200) Subject: mac80211: update the channel context after channel switch X-Git-Tag: omap-for-v3.20/drop-legacy-3517~36^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=722ddb0dab29b666881d74067c2b92d42074351f;p=pandora-kernel.git mac80211: update the channel context after channel switch When the channel switch has been made, a vif is now using the channel context which was reserved. When that happens, we need to update the channel context since its parameters may change. I hit a case in which I switched to a 40Mhz channel but the reserved channel context was still on 20Mhz. The rate control would try to send 40Mhz packets on a 20Mhz channel context and that made iwlwifi's firmware unhappy. Signed-off-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- Reading git-diff-tree failed