commit | a12553ced9cc0bb8e59de69bd7788583bad3294a | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Wed Jul 13 17:30:23 2022 +0800 |
committer | developer <developer@mediatek.com> | Thu Jul 14 10:44:24 2022 +0800 |
tree | 05e5f3784556eea51de77bfbcf5f753b2c56317a | |
parent | 8fe427179ecf17bef06fb420db1c6367805c8e81 [diff] |
[][MAC80211][hostapd][Fix mtk vendor subcmd EDCCA control issue] [Description] Fix EDCCA control subcmd cause interface down issue. If wifi driver didn't support EDCCA control vendor command, nl80211_configure_edcca_threshold() will return error which cause hostapd to bring down the interface in current implementation. It shall return 0 if wifi driver didn't support EDCCA control vendor command. [Release-log] N/A Change-Id: I71143e44b43892702e3325b2fcff302631b4baf1 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6244040
diff --git a/autobuild_mac80211_release/package/network/services/hostapd/patches/915-Support-new-hostapd-configuration-edcca_enable-and-e.patch b/autobuild_mac80211_release/package/network/services/hostapd/patches/915-Support-new-hostapd-configuration-edcca_enable-and-e.patch index 36092dd..fbf45a4 100644 --- a/autobuild_mac80211_release/package/network/services/hostapd/patches/915-Support-new-hostapd-configuration-edcca_enable-and-e.patch +++ b/autobuild_mac80211_release/package/network/services/hostapd/patches/915-Support-new-hostapd-configuration-edcca_enable-and-e.patch
@@ -170,9 +170,9 @@ + int ret; + + if (!drv->mtk_edcca_vendor_cmd_avail) { -+ wpa_printf(MSG_ERROR, ++ wpa_printf(MSG_INFO, + "nl80211: Driver does not support setting EDCCA threshold"); -+ return -1; ++ return 0; + } + + if (!(msg = nl80211_drv_msg(drv, 0, NL80211_CMD_VENDOR)) ||