From: Felix Fietkau Date: Thu, 3 Dec 2009 18:35:31 +0000 (+0000) Subject: mac80211: rename autogenerated wifi-device sections from wifi* to radio* to prevent... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=86bfe0a7013f1d633e74ca8fe3eef956e9f69f53;p=librecmc%2Flibrecmc.git mac80211: rename autogenerated wifi-device sections from wifi* to radio* to prevent conflicts with madwifi interface naming SVN-Revision: 18627 --- diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index bc6cc1449a..7a3ed9a682 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -289,7 +289,7 @@ detect_mac80211() { devidx=0 config_load wireless while :; do - config_get type "wifi$devidx" type + config_get type "radio$devidx" type [ -n "$type" ] || break devidx=$(($devidx + 1)) done @@ -318,7 +318,7 @@ detect_mac80211() { iw phy "$dev" info | grep -q '2412 MHz' || { mode_band="a"; channel="36"; } cat <