[][mt76][hostapd][fix hsotapd 11v mbss for ubus issue]

[Description]
Fix ubus crash issue.

[Release-log]

Change-Id: Ia3d1a3f29b12e6370ec7fc37c7d37568c8f21b79
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7297686
diff --git a/autobuild_mac80211_release/package/network/services/hostapd/patches/mtk-0021-hostapd-mtk-add-11v_mbss-and-ema-support-for-hostapd.patch b/autobuild_mac80211_release/package/network/services/hostapd/patches/mtk-0021-hostapd-mtk-add-11v_mbss-and-ema-support-for-hostapd.patch
index a9e802d..1574640 100644
--- a/autobuild_mac80211_release/package/network/services/hostapd/patches/mtk-0021-hostapd-mtk-add-11v_mbss-and-ema-support-for-hostapd.patch
+++ b/autobuild_mac80211_release/package/network/services/hostapd/patches/mtk-0021-hostapd-mtk-add-11v_mbss-and-ema-support-for-hostapd.patch
@@ -499,8 +499,8 @@
  
 -	if (hapd->driver && hapd->driver->set_operstate)
 -		hapd->driver->set_operstate(hapd->drv_priv, 1);
-+	if (start_beacon)
-+		return hostapd_start_beacon(hapd);
++	if (start_beacon && hostapd_start_beacon(hapd) < 0)
++		return -1;
  
  	hostapd_ubus_add_bss(hapd);