commit | 8d613a6f30e203a9991080821b231c6f204d2bde | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Thu May 04 10:33:39 2023 +0800 |
committer | developer <developer@mediatek.com> | Fri May 05 10:22:36 2023 +0800 |
tree | 97981c55e1344c7d31529bfc6115296ad1c0afe4 | |
parent | 22eedccc2d565ad2a6ba3b6fb41b6d378b0408d4 [diff] |
[][MAC80211][mt76][Fix mwctl set hostapd_cli cmd] [Description] Fix mwctl set hostapd_cli cmd. [Release-log] N/A Change-Id: I2f764cd28081a86784568d4592ef5fa48dc34282 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7444715
diff --git a/feed/atenl/files/iwpriv.sh b/feed/atenl/files/iwpriv.sh index a84c61e..7046d71 100755 --- a/feed/atenl/files/iwpriv.sh +++ b/feed/atenl/files/iwpriv.sh
@@ -1162,7 +1162,8 @@ ## Translate to mt76-vendor command "csi"|"amnt"|"ap_rfeatures"|"ap_wireless"|"mu") if [ ${is_eagle} == "1" ]; then - do_cmd "hostapd_cli -i $*" + hostapd_cmd="$(echo $* | sed 's/set/raw/')" + do_cmd "hostapd_cli -i $hostapd_cmd" else do_cmd "mt76-vendor $*" fi