kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfg80211.h
.. .. @@ -3045,6 +3045,15 @@ 3045 3045 } \ 3046 3046 } while (0) 3047 3047 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 +3048 3057 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0)) 3049 3058 #define CFG80211_PUT_BSS(wiphy, bss) cfg80211_put_bss(wiphy, bss); 3050 3059 #else