Browse Source

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
Krishna Kumaar Natarajan 9 years ago
parent
commit
8a8df26374
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/hdd/src/wlan_hdd_cfg80211.c

+ 1 - 1
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