summaryrefslogtreecommitdiffstats
path: root/package/hostapd-rtk/files/realtek.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostapd-rtk/files/realtek.sh')
-rwxr-xr-xpackage/hostapd-rtk/files/realtek.sh2
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-