소스 검색

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 년 전
부모
커밋
8a8df26374
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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