hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfg80211.h
....@@ -3045,6 +3045,15 @@
30453045 } \
30463046 } while (0)
30473047
3048
+#define WL_CHANNEL_COPY_FLAG(band_chan_arr) \
3049
+do { \
3050
+ u32 arr_size, k; \
3051
+ arr_size = ARRAYSIZE(band_chan_arr); \
3052
+ for (k = 0; k < arr_size; k++) { \
3053
+ band_chan_arr[k].orig_flags = band_chan_arr[k].flags; \
3054
+ } \
3055
+} while (0)
3056
+
30483057 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0))
30493058 #define CFG80211_PUT_BSS(wiphy, bss) cfg80211_put_bss(wiphy, bss);
30503059 #else