diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index 2fb307c996e2..6f81102acb3b 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -9058,7 +9058,6 @@ static int __wlan_hdd_cfg80211_change_beacon(struct wiphy *wiphy, struct hdd_context *hdd_ctx; beacon_data_t *old, *new; int status; - bool update_beacon; ENTER(); @@ -9106,11 +9105,9 @@ static int __wlan_hdd_cfg80211_change_beacon(struct wiphy *wiphy, } pAdapter->sessionCtx.ap.beacon = new; - update_beacon = (pAdapter->device_mode == - QDF_P2P_GO_MODE) ? true : false; - hdd_debug("update beacon for P2P GO: %d", update_beacon); + hdd_debug("update beacon for P2P GO/SAP"); status = wlan_hdd_cfg80211_start_bss(pAdapter, params, NULL, - 0, 0, false, update_beacon); + 0, 0, false, true); EXIT(); return status;