Merge pull request #46 from morrownr/rhel85
fixed compilation compatibility with rhel8.5
This commit is contained in:
commit
8a01348629
@ -454,7 +454,7 @@ u8 rtw_cfg80211_ch_switch_notify(_adapter *adapter, u8 ch, u8 bw, u8 offset,
|
|||||||
|
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0))
|
||||||
if (started) {
|
if (started) {
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0) || defined(RHEL8))
|
||||||
|
|
||||||
/* --- cfg80211_ch_switch_started_notfiy() ---
|
/* --- cfg80211_ch_switch_started_notfiy() ---
|
||||||
* A new parameter, bool quiet, is added from Linux kernel v5.11,
|
* A new parameter, bool quiet, is added from Linux kernel v5.11,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user