summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-15 00:44:02 +0000
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-15 00:44:02 +0000
commit73b9ef150fdc3f0013a44c15a6133817942404cf (patch)
tree356f6ad995ff9859b8bcb60b1be0c99633f7292c /package
parentab683019760097d5207d63e32f6a8186c6138c64 (diff)
[package] mac80211: Fix unique device autodetection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26165 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh4
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 386bda8e5..d395db11d 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=""