compat-wireless: disable ar9170 when selecting ath
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 11 Nov 2010 00:35:26 +0000 (16:35 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 11 Nov 2010 00:35:51 +0000 (16:35 -0800)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
scripts/driver-select

index 6e074895226468d305b161ee5221164af2b8c803..533dfbc7199af073cd5af6913dce6d5e6ba64973 100755 (executable)
@@ -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
                ;;