From 8a8df26374aadc0f08fee4478292bd52fdc864b3 Mon Sep 17 00:00:00 2001 From: Krishna Kumaar Natarajan Date: Fri, 4 Dec 2015 11:43:46 -0800 Subject: [PATCH] qcacld-3.0: Fix incorrect reference to wiphy flags Fix incorrect reference of wiphy flags while setting WIPHY_FLAG_HAS_CHANNEL_SWITCH. Change-Id: Ifebaa9a8452a8564f60f29015f240d5a43bb9afb CRs-Fixed: 947551 --- core/hdd/src/wlan_hdd_cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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