X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d04b55e43c5f5dd0999aae5b3df01d658908d481..a30ce2b2e78cd5509f79e59479ba8397a762a5c1:/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh?ds=sidebyside 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 53910efcd..2c1625ba8 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