Skip to content

Commit a93cf80

Browse files
committed
sensecap_m2: Update wifi mac calculation.
According to the Seeed SenseCAP M2 label on the back of the gateway, the wifi mac should be ethernet mac - 1.
1 parent bcc6d00 commit a93cf80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conf/seeed_sensecap_m2/files/etc/hotplug.d/net/10-set-wifi-mac

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
. /lib/functions.sh
55
. /lib/functions/system.sh
66

7-
uci set wireless.@wifi-iface[0].macaddr=$(macaddr_add "$(mtd_get_mac_binary factory 0x2e)" 1)
7+
uci set wireless.@wifi-iface[0].macaddr=$(macaddr_add "$(mtd_get_mac_binary factory 0x2e)" -1)
88
uci commit wireless
99
wifi reload

0 commit comments

Comments
 (0)