commit | 5eb95ed07cb28eab966cb72e7e0c03162289c53e | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Tue Mar 28 10:40:04 2023 +0800 |
committer | developer <developer@mediatek.com> | Tue Mar 28 14:07:38 2023 +0800 |
tree | e673b3fa8510ff84a685a0a8dbc474c2dc7988a3 | |
parent | 82408898341ec12856102223315494bd514c6e86 [diff] |
[][MAC80211][hostapd][Initialize the value of center_segment1] [Description] Add center_segment1's initial value in case of center_segment1 is unused. [Release-log] N/A Change-Id: I581c6c83234e8ef07e538d0c9a3172863d243caf Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7303280
diff --git a/autobuild_mac80211_release/package/network/services/hostapd/patches/mtk-0023-hostapd-mtk-Add-channel-information-for-hostapd-relo.patch b/autobuild_mac80211_release/package/network/services/hostapd/patches/mtk-0023-hostapd-mtk-Add-channel-information-for-hostapd-relo.patch index b03656e..b03b120 100644 --- a/autobuild_mac80211_release/package/network/services/hostapd/patches/mtk-0023-hostapd-mtk-Add-channel-information-for-hostapd-relo.patch +++ b/autobuild_mac80211_release/package/network/services/hostapd/patches/mtk-0023-hostapd-mtk-Add-channel-information-for-hostapd-relo.patch
@@ -45,7 +45,7 @@ size_t len = sizeof(buf); enum hostapd_hw_mode hw_mode; - u8 channel; -+ u8 channel, center_segment0, center_segment1, op_class; ++ u8 channel, center_segment0, center_segment1 = 0, op_class; int sec_chan = 0; int ret; + struct wpa_channel_info ci;