wil6210: support regular scan on P2P_DEVICE interface
P2P search can only run on the social channel (channel 2). When issuing a scan request on the P2P_DEVICE interface, driver ignored the channels argument and always performed a P2P search. Fix this by checking the channels argument, if it is not specified (meaning full scan) or if a non-social channel was specified, perform a regular scan and not a P2P search. Change-Id: If1cdfdb2086ff7e3dbf02e9a5920ef3ed0a31280 Signed-off-by:Lior David <qca_liord@qca.qualcomm.com> Signed-off-by:
Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by:
Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: 321a000bfadd5535089a198b42d714a8bf8469b7 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git CRs-Fixed: 1015627 Signed-off-by:
Maya Erez <merez@codeaurora.org>
Loading
Please register or sign in to comment