diff --git a/package/network/config/wifi-scripts/files/lib/netifd/wireless/mac80211.sh b/package/network/config/wifi-scripts/files/lib/netifd/wireless/mac80211.sh index bc59c303b9..0079c498e7 100755 --- a/package/network/config/wifi-scripts/files/lib/netifd/wireless/mac80211.sh +++ b/package/network/config/wifi-scripts/files/lib/netifd/wireless/mac80211.sh @@ -1021,7 +1021,7 @@ $1 ~ /Band/ { } band_match && $3 == "MHz" && $4 == channel { - print $2 + print int($2) exit } '