Skip to content
Snippets Groups Projects
Verified Commit 126656a0 authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

sbin/reform-hw-setup: do not run init_qca9377_wifi if qcacld2 is already loaded

parent cbf2880c
No related branches found
No related tags found
No related merge requests found
......@@ -76,6 +76,11 @@ init_pocket_display() {
}
init_qca9377_wifi() {
if test -e /proc/modules && grep --quiet '^qcacld2 ' /proc/modules; then
echo "I: Module qcacld2 is already loaded" >&2
return 0
fi
# load out-of-tree Wi-Fi driver
KERNVER_EXACT=$(dpkg-query --show --showformat '${Version}' "linux-image-$(uname -r)")
modprobe cfg80211
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment