]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Fix target assert in p2p bringup with multi vif
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Fri, 6 Apr 2012 14:54:30 +0000 (20:24 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 9 Apr 2012 14:49:43 +0000 (17:49 +0300)
commit72c435e2b85b34b71e05e76dc32cd5382822c2d2
tree230b6fb9ab7a6011be75da56e469199021cbc78d
parentac1a8922545e2918ab2272b7a4c533138cee1fa7
ath6kl: Fix target assert in p2p bringup with multi vif

Using interface 0 for p2p causes target assert. This is because
interface 0 is always initialized to non-p2p operations. Fix this
issue by initializing all the interfaces for p2p when fw is capable
of dynamic interface switching. When fw is not capable of dynamic
switching, make sure p2p is not brought up on interface which is
not initialized for this purpose.

Reported-by: Naveen Singh navesing@qca.qualcomm.com
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
drivers/net/wireless/ath/ath6kl/init.c