From ae7f877bb84b12f1c775950b71b005ee129cdea9 Mon Sep 17 00:00:00 2001
From: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: Fri, 21 May 2021 11:11:44 +0000
Subject: [PATCH] Revert "brcm63xx: use bcmd libs for hostapd"

This reverts commit 2b831dd1409f518dbd2cd58b4f313a7339ceda64

We now have a wrapper script in bcmkernel that fixes the problem for all
invocations.
---
 iopsys-brcm63xx-arm/base-files/lib/netifd/wireless/mac80211.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iopsys-brcm63xx-arm/base-files/lib/netifd/wireless/mac80211.sh b/iopsys-brcm63xx-arm/base-files/lib/netifd/wireless/mac80211.sh
index d7daaffb2..4eb03a1d8 100755
--- a/iopsys-brcm63xx-arm/base-files/lib/netifd/wireless/mac80211.sh
+++ b/iopsys-brcm63xx-arm/base-files/lib/netifd/wireless/mac80211.sh
@@ -1375,7 +1375,7 @@ drv_mac80211_setup() {
 	for_each_interface "sta" mac80211_prepare_vif
 
 	[ -n "$hostapd_ctrl" ] && {
-		LD_LIBRARY_PATH=/usr/lib/broadcom /usr/sbin/hostapd -s -P /var/run/wifi-$phy.pid -B "$hostapd_conf_file"
+		/usr/sbin/hostapd -s -P /var/run/wifi-$phy.pid -B "$hostapd_conf_file"
 		ret="$?"
 		sleep 3
 		wireless_add_process "$(cat /var/run/wifi-$phy.pid)" "/usr/sbin/hostapd" 1
-- 
GitLab