2011-11-01 16:05:45

by Janusz Dziedzic

[permalink] [raw]
Subject: [PATCH] compat-wireless: add driver-select for mac80211_hwsim

Signed-off-by: Janusz Dziedzic <[email protected]>

---
scripts/driver-select | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/scripts/driver-select b/scripts/driver-select
index 3619541..6f7f103 100755
--- a/scripts/driver-select
+++ b/scripts/driver-select
@@ -33,7 +33,7 @@ PURPLE="\033[35m"
CYAN="\033[36m"
UNDERLINE="\033[02m"

-SUPPORTED_80211_DRIVERS="ath5k ath9k ath9k_htc carl9170 ath6kl b43
zd1211rw rt2x00 wl1251 wl12xx brcmsmac brcmfmac"
+SUPPORTED_80211_DRIVERS="ath5k ath9k ath9k_htc carl9170 ath6kl b43
zd1211rw rt2x00 wl1251 wl12xx brcmsmac brcmfmac mac80211_hwsim"

# b43 needs some more work for driver-select, the SSB stuff, plus
# what if you update b44 but not b43? It will bust.
@@ -424,6 +424,11 @@ case $1 in
disable_staging
disable_var_01
;;
+ mac80211_hwsim)
+ disable_staging
+ disable_bt_usb_ethernet
+ select_driver CONFIG_MAC80211_HWSIM
+ ;;
# Ethernet and Bluetooth drivers
atl1)
enable_only_ethernet
--
1.7.4.1