sysdrv/drv_ko/wifi/insmod_wifi.sh : Use the device ID as the basis for loading the AIC8800DC driver

Signed-off-by: eng29 <eng29@luckfox.com>
This commit is contained in:
eng29 2025-08-07 18:57:22 +08:00
parent 42980f3aa9
commit 528faf5cf4
1 changed files with 2 additions and 1 deletions

View File

@ -107,7 +107,8 @@ if [ $? -eq 0 ]; then
fi
#aic8800
if [ -n "$(cat /proc/device-tree/model | grep "W")" ]; then
if [ -n "$(cat /proc/device-tree/model | grep "W")" ] || \
[ -n "$(cat /sys/bus/sdio/devices/*/uevent | grep "C8A1\:C18D")" ]; then
insmod cfg80211.ko
insmod libarc4.ko
insmod ctr.ko