Developing lightweight computation at the DSG edge

Commit 820accb4 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Fix #376: remove extra "]"s in qmp_wireless.sh

parent 1be83758
......@@ -49,7 +49,7 @@ qmp_check_channel() {
# Checking if some thing related with channel is wrong
local wrong=0
[ -z "$channel" ] || [ -z "$chaninfo" ] && wrong=1
[ "$mode" == "adhoc" -o "$mode" == "adhoc_ap" ] -o "$mode" == "80211s" ] -o "$mode" == "80211s_aplan" ] && [ -z "$(echo $chaninfo | grep adhoc)" ] && wrong=1
[ "$mode" == "adhoc" -o "$mode" == "adhoc_ap" -o "$mode" == "80211s" -o "$mode" == "80211s_aplan" ] && [ -z "$(echo $chaninfo | grep adhoc)" ] && wrong=1
[ "$ht40" == "+" ] && [ -z "$(echo $chaninfo | grep +)" ] && wrong=1
[ "$ht40" == "-" ] && [ -z "$(echo $chaninfo | grep -)" ] && wrong=1
[ "$m11b" == "b" ] && [ $channel -gt 14 ] && wrong=1
......
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