Developing lightweight computation at the DSG edge

Commit 1900e97a authored by p4u's avatar p4u
Browse files

Fixed txpower in firtst boot

parent 291368e8
......@@ -349,6 +349,7 @@ qmp_configure_wifi_initial() {
[ -z "$(qmp_uci_get @wireless[$j])" ] && qmp_uci_add wireless
[ -z "$(qmp_uci_get @wireless[$j].mode)" ] && qmp_uci_set @wireless[$j].mode $(qmp_wifi_get_default mode $device)
[ -z "$(qmp_uci_get @wireless[$j].name)" ] && qmp_uci_set @wireless[$j].name $(qmp_wifi_get_default name)
[ -z "$(qmp_uci_get @wireless[$j].txpower)" ] && qmp_uci_set @wireless[$j].txpower $(qmp_wifi_get_default txpower)
sleep 1 && mode="$(qmp_uci_get @wireless[$j].mode)"
[ -z "$(qmp_uci_get @wireless[$j].channel)" ] && qmp_uci_set @wireless[$j].channel $(qmp_wifi_get_default channel $device $mode)
qmp_uci_set @wireless[$j].mac $m
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment