Skip to content

Commit

Permalink
sunxi-6.11: xradio: exclude driver if kernel version >= 6.11
Browse files Browse the repository at this point in the history
  • Loading branch information
The-going committed Sep 29, 2024
1 parent fccd817 commit 21db5ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/functions/compilation/patch/drivers_network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ driver_xradio_xr819() {

# Wireless drivers for Xradio XR819 chipsets

if linux-version compare "${version}" ge 4.19 && [[ "$LINUXFAMILY" == sunxi* ]]; then
if linux-version compare "${version}" ge 4.19 && linux-version compare "${version}" lt 6.11 && [[ "$LINUXFAMILY" == sunxi* ]]; then

# Attach to specific commit (is branch:master)
local xradio_xr819_ver="commit:3a1f77fb2db248b7d18d93b67b16e0d6c91db184" # Commit date: Dec 25, 2023 (please update when updating commit ref)
Expand Down Expand Up @@ -515,7 +515,7 @@ driver_uwe5622() {
if linux-version compare "${version}" ge 6.9; then
process_patch_file "${SRC}/patch/misc/wireless-uwe5622/uwe5622-v6.9.patch" "applying"
fi

if linux-version compare "${version}" ge 6.11; then
process_patch_file "${SRC}/patch/misc/wireless-uwe5622/uwe5622-v6.11.patch" "applying"
fi
Expand Down

0 comments on commit 21db5ba

Please sign in to comment.