From a49633e03a7e18ff273c2d3a0711eb6366b51faa Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Thu, 8 Oct 2009 20:02:56 -0400 Subject: [PATCH] Fix driver select for ath9k All other atheros drivers were being built Signed-off-by: Luis R. Rodriguez --- scripts/driver-select | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/driver-select b/scripts/driver-select index b89e9e37548f..a624281b716e 100755 --- a/scripts/driver-select +++ b/scripts/driver-select @@ -6,6 +6,7 @@ DRIVERS_MAKEFILE="drivers/net/wireless/Makefile" ATH_MAKEFILE="drivers/net/wireless/ath/Makefile" +ATH9K_MAKEFILE="drivers/net/wireless/ath/ath9k/Makefile" NET_WIRELESS_MAKEFILE="net/wireless/Makefile" EEPROM_MAKEFILE="drivers/misc/eeprom/Makefile" DRIVERS_NET="drivers/net/Makefile" @@ -140,7 +141,13 @@ function disable_var_02 { function select_ath_driver { backup_file $ATH_MAKEFILE - perl -i -ne 'print if /'$1'/ || /CONFIG_ATH_COMMON/ || /ath-objs/ || regd.o || hw.o ' $ATH_MAKEFILE + perl -i -ne 'print if /'$1'/ || /CONFIG_ATH_COMMON/ || /ath-objs/ || /regd.o/ || /hw.o/ ' $ATH_MAKEFILE + disable_var_01 +} + +function select_ath9k_driver +{ + select_ath_driver CONFIG_ATH9K_HW disable_var_01 } @@ -231,7 +238,7 @@ case $1 in ;; ath9k) select_driver CONFIG_ATH_COMMON - select_ath_driver CONFIG_ATH9K_HW + select_ath9k_driver ;; ar9170) select_driver CONFIG_ATH_COMMON -- 2.30.2