aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2010-08-04 10:10:48 +0000
committerHamish Guthrie <hcg@openwrt.org>2010-08-04 10:10:48 +0000
commiteef2acd974412b0696bdc213d8e7f42b14c5da90 (patch)
treeb1734bf5309e47df5d86b58fa003eeb4479207fe
parent3d5783d3c490b4da159dbf69812ebcb5f9f41b29 (diff)
downloadupstream-eef2acd974412b0696bdc213d8e7f42b14c5da90.tar.gz
upstream-eef2acd974412b0696bdc213d8e7f42b14c5da90.tar.bz2
upstream-eef2acd974412b0696bdc213d8e7f42b14c5da90.zip
omap35xx: Add temporary fix for marvell wlan MAC address detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22477 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh b/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh
index 53910efcd3..2c1625ba8c 100644
--- a/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh
+++ b/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh
@@ -417,7 +417,7 @@ detect_mac80211() {
config wifi-device radio$devidx
option type mac80211
option channel ${channel}
- option macaddr $(cat /sys/class/ieee80211/${dev}/macaddress)
+ option macaddr $(cat /sys/class/net/wlan0/address)
option hwmode 11${mode_11n}${mode_band}
$ht_capab
# REMOVE THIS LINE TO ENABLE WIFI:
@@ -426,7 +426,7 @@ $ht_capab
config wifi-iface
option device radio$devidx
option network lan
- option mode ap
+ option mode sta
option ssid OpenWrt
option encryption none