prism3-support: dropped
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2002 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
ecbb975a19
commit
b8ed58ca16
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# dont handle non-wireless interfaces
|
||||
if [ -n `cat /proc/net/wireless|grep $IFACE` ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -e /sbin/cardctl; then
|
||||
CARDCTL=/sbin/cardctl
|
||||
elif test -e /sbin/pccardctl; then
|
||||
CARDCTL=/sbin/pccardctl
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Special case for prism3 cards needing firmware upload
|
||||
# Add more known manfids, if necessary
|
||||
|
||||
if [ `$CARDCTL info|grep "d601,0010\|d601,0101"` ]; then
|
||||
iwpriv "$IFACE" reset 1
|
||||
hostap_fw_load "$IFACE"
|
||||
fi
|
||||
|
||||
# lets hope that run-parts obeys the order :D
|
||||
|
||||
exit 0
|
|
@ -1,15 +0,0 @@
|
|||
DESCRIPTION = "meta-package for prism3 support through ifupdown and hostap_fw_load"
|
||||
SECTION = "base"
|
||||
LICENSE = "GPL"
|
||||
DEPENDS = "prism3-firmware hostap-utils"
|
||||
RDEPENDS = "prism3-firmware hostap-utils"
|
||||
PACKAGE_ARCH = "all"
|
||||
PR = "r3"
|
||||
|
||||
SRC_URI = "file://hostap-fw-load"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}/network/if-pre-up.d/
|
||||
install -m 0755 ${WORKDIR}/hostap-fw-load ${D}${sysconfdir}/network/if-pre-up.d/
|
||||
}
|
||||
|
Loading…
Reference in New Issue