From: Luis R. Rodriguez Date: Thu, 11 Nov 2010 00:35:26 +0000 (-0800) Subject: compat-wireless: disable ar9170 when selecting ath X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ae399cbb14771d84feaddb58103f97b6678f3479;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: disable ar9170 when selecting ath Signed-off-by: Luis R. Rodriguez --- diff --git a/scripts/driver-select b/scripts/driver-select index 6e0748952264..533dfbc7199a 100755 --- a/scripts/driver-select +++ b/scripts/driver-select @@ -214,6 +214,11 @@ function disable_ath6kl { perl -i -ne 'print if ! /ath6kl/ ' Makefile } +function disable_ar9170 { + backup_file drivers/net/wireless/ath/Makefile + perl -i -ne 'print if ! /ar9170/ ' drivers/net/wireless/ath/Makefile +} + function disable_brcm80211 { backup_file Makefile perl -i -ne 'print if ! /brcm80211/ ' Makefile @@ -306,6 +311,7 @@ case $1 in ;; ath) disable_bt_usb_ethernet_var + disable_ar9170 select_drivers CONFIG_ATH_COMMON disable_var_01 ;;