kernel-module-qualcomm: Bring the module up with the p2p0 interface too

The qualcomm wlan driver creates two interfaces at load time, wlan0 and
p2p0. Both of them should load the module if not already loaded.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2017-01-18 12:56:01 +01:00
parent 5d332c7800
commit e55d83ba14
1 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,10 @@
#
#===============================================================================
[ "${IFACE}" != "wlan0" ] && exit 0
[ "${IFACE}" != "wlan0" ] && [ "${IFACE}" != "p2p0" ] && exit 0
# If the qualcomm driver is already loaded exit
grep -qws 'wlan' /proc/modules && exit 0
FIRMWARE_DIR="/lib/firmware"
MACFILE="${FIRMWARE_DIR}/wlan/wlan_mac.bin"