]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ath9k: Fix offchannel operation
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 5 Sep 2014 04:20:56 +0000 (09:50 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 9 Sep 2014 19:27:22 +0000 (15:27 -0400)
commitda0162f3f0012465cc6d77c4d416fabb182713ad
tree69653c915409e0fe380517685950384f0267ef1e
parenta402764452672dfe119e68edf7a21f1739b71f76
ath9k: Fix offchannel operation

When multiple channel contexts are active, an offchannel
request will not be handled immediately, but will be
queued to be handled later. But, currently, the channel definition
is not copied to the local offchannel state. This
breaks operation like scanning when MCC is active.

Fix this by storing the offchannel parameters properly.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/channel.c