ath9k: Fix channel context creation
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Sun, 24 Aug 2014 15:46:13 +0000 (21:16 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Aug 2014 18:49:39 +0000 (14:49 -0400)
commit4c7e9aee2d3f738924ba04baecf7bf854e72f07c
tree3554c5ea700f665b40ea2893e5aa1365d03b3ce7
parent86162d497d4ceb995b268fc9c7756ae7bdb0bc71
ath9k: Fix channel context creation

If a new context is being added in addition to the current one,
then send the ASSIGN event to abort a running scan since
the addition of a context is usually followed by VIF
assignment and further operations.

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
drivers/net/wireless/ath/ath9k/main.c