kernel-module-qualcomm: generalize for both qca6564 and qca6574 models

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2019-06-04 17:57:24 +02:00
parent 80b8fc8be4
commit d60d5cc980
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
# At this point of the boot (udev script), the system log (syslog) is not
# available yet, so use the kernel log buffer from userspace.
log() {
printf "<$1>qca6564: $2\n" >/dev/kmsg
printf "<$1>qca65x4: $2\n" >/dev/kmsg
}
# Do nothing if the wireless node does not exist on the device tree
@ -109,4 +109,4 @@ LOGLEVEL="$(sed -ne 's,^kernel.printk[^=]*=[[:blank:]]*\(.*\)$,\1,g;T;p' /etc/sy
modprobe wlan
# Verify the interface is present
[ -d "/sys/class/net/wlan0" ] || log "3" "[ERROR] Loading qca6564 module"
[ -d "/sys/class/net/wlan0" ] || log "3" "[ERROR] Loading wlan module"