commit | 42df1b5e9e4b8e7a4b330811be9faaaedd5d0806 | [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 | 7a7f3af9f28399568acaed5563745acb0cbb4023 [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