From: Michal Kazior Date: Wed, 3 Jun 2015 10:16:56 +0000 (+0200) Subject: ath10k: fix channel switching X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~34^2~3^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e6eb417fc1facda1c9a9189be85f16cb5b8b69f;p=pandora-kernel.git ath10k: fix channel switching In the midst of chanctx patch review channel switching became broken which I failed to notice until now. Function ath10k_mac_vif_chan() reports current chandef which isn't updated until after switch_vif_chanctx() is returned from. Consequently the driver just restarted operation on channels it was residing already instead of switching to the new ones. Fixes: 500ff9f9389d ("ath10k: implement chanctx API") Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed