summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/prism3-support/files/hostap-fw-load26
-rw-r--r--meta/packages/prism3-support/prism3-support_1.0.0.bb15
2 files changed, 0 insertions, 41 deletions
diff --git a/meta/packages/prism3-support/files/hostap-fw-load b/meta/packages/prism3-support/files/hostap-fw-load
deleted file mode 100644
index 707030c6a7..0000000000
--- a/meta/packages/prism3-support/files/hostap-fw-load
+++ /dev/null
@@ -1,26 +0,0 @@
1#!/bin/sh
2
3# dont handle non-wireless interfaces
4if [ -n `cat /proc/net/wireless|grep $IFACE` ]; then
5 exit 0
6fi
7
8if test -e /sbin/cardctl; then
9 CARDCTL=/sbin/cardctl
10elif test -e /sbin/pccardctl; then
11 CARDCTL=/sbin/pccardctl
12else
13 exit 0
14fi
15
16# Special case for prism3 cards needing firmware upload
17# Add more known manfids, if necessary
18
19if [ `$CARDCTL info|grep "d601,0010\|d601,0101"` ]; then
20 iwpriv "$IFACE" reset 1
21 hostap_fw_load "$IFACE"
22fi
23
24# lets hope that run-parts obeys the order :D
25
26exit 0 \ No newline at end of file
diff --git a/meta/packages/prism3-support/prism3-support_1.0.0.bb b/meta/packages/prism3-support/prism3-support_1.0.0.bb
deleted file mode 100644
index b3c00e422f..0000000000
--- a/meta/packages/prism3-support/prism3-support_1.0.0.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1DESCRIPTION = "meta-package for prism3 support through ifupdown and hostap_fw_load"
2SECTION = "base"
3LICENSE = "GPL"
4DEPENDS = "prism3-firmware hostap-utils"
5RDEPENDS = "prism3-firmware hostap-utils"
6PACKAGE_ARCH = "all"
7PR = "r3"
8
9SRC_URI = "file://hostap-fw-load"
10
11do_install() {
12 install -d ${D}${sysconfdir}/network/if-pre-up.d/
13 install -m 0755 ${WORKDIR}/hostap-fw-load ${D}${sysconfdir}/network/if-pre-up.d/
14}
15