mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-26 00:22:47 +00:00
040c02497c
If spectral scan support is enabled then ath10k-ct will cause a NULL
pointer due to relay_open() being called with a const callback struct
which is only supported in kernel 5.11 and later.
So, simply check the kernel version and if 5.11 and newer use the const
callback struct, otherwise use the regular struct.
Fixes:
|
||
---|---|---|
.. | ||
120-ath10k-fetch-calibration-data-via-nvmem-subsystem.patch | ||
201-ath10k-add-LED-and-GPIO-controlling-support-for-various-chipsets.patch | ||
202-ath10k-use-tpt-trigger-by-default.patch | ||
300-ath10k-ct-Fix-spectral-scan-NULL-pointer.patch | ||
960-0010-ath10k-limit-htt-rx-ring-size.patch | ||
960-0011-ath10k-limit-pci-buffer-size.patch |