]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath9k: advertise p2p dev support when chanctx
authorJanusz.Dziedzic@tieto.com <Janusz.Dziedzic@tieto.com>
Tue, 21 Jul 2015 09:11:40 +0000 (11:11 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 6 Aug 2015 07:11:03 +0000 (10:11 +0300)
commiteb61f9f623f78f463ec08b1c4a1defea9b511312
tree63b14542802da46bb056345d13696fd80fbbf2fb
parentc5bc15fce6aa33b7aeba4e049ceacfab66fa4a9f
ath9k: advertise p2p dev support when chanctx

Advertise p2p device support when ath9k loaded with
use_chanctx=1.

This will fix problem, when first interface is an AP
and next we would like to run p2p_find.
Before p2p find (scan phase) failed with EOPNOTSUPP.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/init.c