Fix driver-select for ath9k and ath5k
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 8 Oct 2009 21:01:49 +0000 (17:01 -0400)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 8 Oct 2009 21:01:49 +0000 (17:01 -0400)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
scripts/driver-select

index 4b3d57971a6e12ad59bd2aec42f9f250952f0091..fb0dc63bf3a78ed4dc81fa01b124a328e85dc7e9 100755 (executable)
@@ -138,7 +138,7 @@ function disable_var_02 {
 function select_ath_driver 
 {
        backup_file $ATH_MAKEFILE
-       perl -i -ne 'print if /'$1'/ || /CONFIG_ATH_COMMON/ || /ath-objs/ ' $ATH_MAKEFILE
+       perl -i -ne 'print if /'$1'/ || /CONFIG_ATH_COMMON/ || /ath-objs/ || regd.o || hw.o ' $ATH_MAKEFILE
        disable_var_01
 }