mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
fix(rtw88): restrict sdio rf-path detection patch to kernel 6.1 only (#8589)
Limit application of 002-rtw88-sdio-rf-path-detection-fix.patch to kernel version 6.1
This commit is contained in:
@@ -354,7 +354,9 @@ driver_rtw88() {
|
||||
display_alert "Adding" "Upstream wireless RTW88 drivers" "info"
|
||||
if [[ -f "${SRC}/patch/misc/rtw88/${version}/001-drivers-net-wireless-realtek-rtw88-upstream-wireless.patch" ]]; then
|
||||
process_patch_file "${SRC}/patch/misc/rtw88/${version}/001-drivers-net-wireless-realtek-rtw88-upstream-wireless.patch" "applying"
|
||||
process_patch_file "${SRC}/patch/misc/rtw88/${version}/002-rtw88-sdio-rf-path-detection-fix.patch" "applying"
|
||||
if linux-version compare "${version}" eq 6.1; then
|
||||
process_patch_file "${SRC}/patch/misc/rtw88/${version}/002-rtw88-sdio-rf-path-detection-fix.patch" "applying" # This patch has been tested only on kernel vendor 6.1.x.
|
||||
fi
|
||||
process_patch_file "${SRC}/patch/misc/rtw88/hack/003-rtw88-decrease-the-log-level-of-tx-report.patch" "applying"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user