Skip to content

Commit

Permalink
Merge pull request #324 from wiktorek140/hotfix-6.3.0
Browse files Browse the repository at this point in the history
fix function usage on 6.3.0
  • Loading branch information
tomaspinho authored May 4, 2023
2 parents a3e2f7c + 4659c17 commit 6aaaf9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion os_dep/linux/ioctl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,10 @@ u8 rtw_cfg80211_ch_switch_notify(_adapter *adapter, u8 ch, u8 bw, u8 offset, u8

#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 19, 2)
cfg80211_ch_switch_notify(adapter->pnetdev, &chdef);
#else
#elif LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0)
cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
#else
cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
#endif

#else
Expand Down

0 comments on commit 6aaaf9f

Please sign in to comment.