From c1a82f58393da5375930a430a0a658808ce9dd3e Mon Sep 17 00:00:00 2001
From: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: Fri, 1 Sep 2023 13:34:17 +0200
Subject: [PATCH] bcmkernel: bcm_git: Remove support for old WiFi tarballs

Remove support for older WiFi tarballs from the era of < 5.04L.03.

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
---
 bcmkernel/scripts/bcm_git.sh | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/bcmkernel/scripts/bcm_git.sh b/bcmkernel/scripts/bcm_git.sh
index 2d661b7..a9506ed 100755
--- a/bcmkernel/scripts/bcm_git.sh
+++ b/bcmkernel/scripts/bcm_git.sh
@@ -196,10 +196,7 @@ import_module()
         # move the files
         rsync -a "$repo/git_tmp/" "$repo/bcm963xx/"
         # sometimes they also include patches
-        apply_bsp_patch_script="$repo/bcm963xx/dopatch"  # new patch script from 5.04L.04
-        if ! [ -x "$apply_bsp_patch_script" ]; then
-            apply_bsp_patch_script="$repo/bcm963xx/apply_bsp_patch_all.sh"  # old patch script
-        fi
+        local apply_bsp_patch_script="$repo/bcm963xx/dopatch"  # new patch script from 5.04L.04
         if [ -x "$apply_bsp_patch_script" ]; then
             echo "Applying bsp-patches using script $(basename "$apply_bsp_patch_script")"
             (cd "$(dirname "$apply_bsp_patch_script")" && "./$(basename "$apply_bsp_patch_script")" apply)
-- 
GitLab