Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Commit

Permalink
projects/Amlogic: Load SDIO WiFi driver using a service
Browse files Browse the repository at this point in the history
When SDIO driver is loaded in oridinary way and no SDIO WiFi is present,
boot time gets much longer because of aml_sdio_timeout errors. To prevent
this, load dummy WiFI driver only if cfg80211 module is not loaded yet.
  • Loading branch information
kszaq committed Feb 2, 2016
1 parent dfaf90a commit aacfda6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Unit]
Description=Amlogic dummy WiFi module loader

[Service]
Type=oneshot
ExecStart=/bin/sh -c "if ! grep -q cfg80211 /proc/modules ; then /sbin/modprobe wifi_dummy ; fi"
RemainAfterExit=yes

[Install]
WantedBy=basic.target

0 comments on commit aacfda6

Please sign in to comment.