Explorar o código

qcacmn: Add conditional compilation for 6 GHz BAND

Add 6 GHz function under CONFIG_BAND_6GHZ flag to avoid
multiple definitions and function defined but not used
issues.

Change-Id: I873300b3165df2f13b3c99d5e11e388dadde1fab
CRs-Fixed: 3265134
Sheenam Monga %!s(int64=2) %!d(string=hai) anos
pai
achega
b4064fc72a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      umac/scan/core/src/wlan_scan_manager_6ghz.c

+ 2 - 0
umac/scan/core/src/wlan_scan_manager_6ghz.c

@@ -35,6 +35,7 @@
 /* Saved profile weightage multiplier */
 #define SAVED_PROFILE_WEIGHTAGE 10
 
+#ifdef CONFIG_BAND_6GHZ
 #ifdef FEATURE_6G_SCAN_CHAN_SORT_ALGO
 
 /**
@@ -558,3 +559,4 @@ end:
 
 	scm_sort_6ghz_channel_list(req->vdev, &req->scan_req.chan_list);
 }
+#endif