diff options
author | Roman Yeryomin <roman@advem.lv> | 2014-03-11 00:56:25 +0200 |
---|---|---|
committer | Roman Yeryomin <roman@advem.lv> | 2014-03-11 00:56:25 +0200 |
commit | c98eff7a7e5f1bbb3250d745f128fde6b6dda38a (patch) | |
tree | c6cdb538570ee1bfb61d048d6525d0e42df0a424 /package/hostapd-rtk/files/realtek.sh | |
parent | 68861cc62872ac7a2cf40acc70c4a8688660bc8e (diff) |
Read wifi calibration data and MAC address from MIB.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'package/hostapd-rtk/files/realtek.sh')
-rwxr-xr-x | package/hostapd-rtk/files/realtek.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostapd-rtk/files/realtek.sh b/package/hostapd-rtk/files/realtek.sh index 27ba1f1e2..092d7843c 100755 --- a/package/hostapd-rtk/files/realtek.sh +++ b/package/hostapd-rtk/files/realtek.sh @@ -304,7 +304,7 @@ detect_realtek() { config wifi-device wlan$devidx option type realtek option channel 11 - option macaddr $(cat /sys/class/net/${dev}/address) + option macaddr $(rtkmib --get wmac0) #TODO: enable after realtek merge with hostapd #option hwmode 11ng option htmode HT40- |