cilynx / rtl88x2bu

rtl88x2bu driver updated for current kernels.
http://www.wolfteck.com/2018/02/22/wsky_1200mbps_wireless_usb_wifi_adapter/
GNU General Public License v2.0
1.66k stars 320 forks source link

Branch fix-6.0 also partially needed for 5.19.3 #218

Closed Fjodor42 closed 2 years ago

Fjodor42 commented 2 years ago

Discovering #217, I wanted to downgrade to 5.19.3.

Then I discovered that in order for the code to compile, I should change all instances of

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0) to

#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 3)

Except for the one at line 1179 in os_dep/linux/ioctl_cfg80211.c

Still the same symptoms as #217, though, so I am back on 5.19.1

Do note that I didn't try 5.19.2

CGarces commented 2 years ago

Should be

if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 2)

MaxG87 commented 2 years ago

Fixed with 610b283b1e117afad686147d9b37992d5c4deb6e.