meta-digi-del: set correct WPA driver depending on the machine
This fixes a bug in 'ccardxmx28js' where the wpa_supplicant was using the wrong driver 'wext' instead of the 'nl80211' (for atheros) https://jira.digi.com/browse/DEL-220 #resolve Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
1f3cc3eb1f
commit
452abcf9de
|
|
@ -15,3 +15,6 @@ EXTRA_IMAGEDEPENDS = "u-boot"
|
||||||
# At the moment it's failing due to wrong u-boot image
|
# At the moment it's failing due to wrong u-boot image
|
||||||
IMAGE_FSTYPES ?= "tar.bz2"
|
IMAGE_FSTYPES ?= "tar.bz2"
|
||||||
IMAGE_FSTYPES += "sum.jffs2 ubifs"
|
IMAGE_FSTYPES += "sum.jffs2 ubifs"
|
||||||
|
|
||||||
|
# wpa_supplicant driver to use in '/etc/network/interfaces'
|
||||||
|
WPA_DRIVER = "nl80211"
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@ DEPENDS="virtual/kernel"
|
||||||
|
|
||||||
SRC_URI += "file://ifup"
|
SRC_URI += "file://ifup"
|
||||||
|
|
||||||
|
WPA_DRIVER ?= "wext"
|
||||||
|
|
||||||
do_install_append(){
|
do_install_append(){
|
||||||
install -m 0755 ${WORKDIR}/ifup ${D}${sysconfdir}/network/if-up.d
|
install -m 0755 ${WORKDIR}/ifup ${D}${sysconfdir}/network/if-up.d
|
||||||
}
|
}
|
||||||
|
|
@ -69,7 +71,7 @@ iface wlan0 inet static
|
||||||
network 192.168.43.0
|
network 192.168.43.0
|
||||||
wireless_mode managed
|
wireless_mode managed
|
||||||
wireless_essid any
|
wireless_essid any
|
||||||
wpa-driver wext
|
wpa-driver ${WPA_DRIVER}
|
||||||
wpa-conf /etc/wpa_supplicant.conf
|
wpa-conf /etc/wpa_supplicant.conf
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue