Skip to content

Commit

Permalink
Fix Gateworks Halow module load loop
Browse files Browse the repository at this point in the history
Jira-Id: WC-260

Signed-off-by: pemanty <[email protected]>
  • Loading branch information
pemanty committed Oct 24, 2023
1 parent 3c9dbe3 commit 1f56a21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/scripts/mesh-11s_nats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ mode_execute() {
# $1 = mode
case "$mode" in
"halow")
MAX_RETRIES=5
RETRY_COUNT=0
cat <<EOF >/var/run/wpa_supplicant-11s_"$INDEX".conf
ctrl_interface=DIR=/var/run/wpa_supplicant_"$INDEX"
ap_scan=1
Expand Down Expand Up @@ -639,4 +641,4 @@ main () {
mode_execute "$mode"
}

main "$@"
main "$@"

0 comments on commit 1f56a21

Please sign in to comment.