diff options
author | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2011-03-15 00:44:02 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2011-03-15 00:44:02 +0000 |
commit | f55fe562253ec3156dd94e1e6e89b6029859309a (patch) | |
tree | 4febdbe07db0e582c01ce6259febc47c293981e1 | |
parent | 96bb1c7585b4fa5353a20d9a4b746a188397c96e (diff) | |
download | mtk-20170518-f55fe562253ec3156dd94e1e6e89b6029859309a.zip mtk-20170518-f55fe562253ec3156dd94e1e6e89b6029859309a.tar.gz mtk-20170518-f55fe562253ec3156dd94e1e6e89b6029859309a.tar.bz2 |
mac80211: Fix unique device autodetection
SVN-Revision: 26165
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 386bda8..d395db1 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -477,7 +477,7 @@ enable_mac80211() { } -check_device() { +check_mac80211_device() { config_get phy "$1" phy [ -z "$phy" ] && { find_mac80211_phy "$1" >/dev/null || return 0 @@ -496,7 +496,7 @@ detect_mac80211() { done for dev in $(ls /sys/class/ieee80211); do found=0 - config_foreach check_device wifi-device + config_foreach check_mac80211_device wifi-device [ "$found" -gt 0 ] && continue mode_11n="" |