diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index e3c3a8ab8e30..838b627ae40e 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -636,7 +636,7 @@ static const struct wiphy_wowlan_support wowlan_support_cfg80211_init = { #ifdef CHANNEL_SWITCH_SUPPORTED static inline void hdd_add_channel_switch_support(uint32_t *flags) { - flags |= WIPHY_FLAG_HAS_CHANNEL_SWITCH; + *flags |= WIPHY_FLAG_HAS_CHANNEL_SWITCH; return; } #else