]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Fix AP mode operation after interface down/up
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Wed, 16 Nov 2011 07:51:34 +0000 (13:21 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 16 Nov 2011 08:51:12 +0000 (10:51 +0200)
commitb85210e205797538de4c0fe2e20aa79e079b6eae
tree7165cf01258d45d1df5c0935771d82d17b75c3f9
parentd9faee214bb57eb22a37fc4a48a5064c8c6fdd67
ath6kl: Fix AP mode operation after interface down/up

When operating AP interface is brough down the mode is reset to
STA. This STA will be reconfigured into AP mode when the interface
is brought up again. This sequence will be successful only when
change_virtual_intf() returns with no error, but there is a
check in this callback which does the type change only when
that interface is active. This callback does nothing more
than saving the new interface type to vif and wdev, so the
sanity check for interface state and wmi state is not necessary.
This makes the AP interface functional again after interface down/up.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c