]> git.karo-electronics.de Git - linux-beck.git/commit
mwifiex: selectively choose ext_scan support
authorAvinash Patil <patila@marvell.com>
Fri, 23 Jan 2015 11:39:19 +0000 (17:09 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Jan 2015 18:18:20 +0000 (20:18 +0200)
commit1fe192d8d63f32daf83c49a29c3acd9c062164ec
tree7ff29e3dc4a313d32770885790313f613b1bc079
parenteaa3d9fa08c55555aedd967d4bfe7fe03c41cfaf
mwifiex: selectively choose ext_scan support

Some devices do not support extended scan.
This patch adds support to enble ext_scan selectively.
For SD/PCIe interfaces, deefine ext_scan_support as part of
card structure and use it to initialize ext_scan in adapter
during registering device. For USB interfaces, we initialize
ext_scan during register_dev handler.

Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/init.c
drivers/net/wireless/mwifiex/pcie.c
drivers/net/wireless/mwifiex/pcie.h
drivers/net/wireless/mwifiex/sdio.c
drivers/net/wireless/mwifiex/sdio.h
drivers/net/wireless/mwifiex/usb.c