Skip to content

Commit

Permalink
fixed compilation compatibility with rhel8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
misha4gps committed Apr 17, 2022
1 parent f56d097 commit 92ea027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os_dep/linux/ioctl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 (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() ---
* A new parameter, bool quiet, is added from Linux kernel v5.11,
Expand Down

0 comments on commit 92ea027

Please sign in to comment.