diff options
-rw-r--r-- | meta/packages/prism3-support/files/hostap-fw-load | 26 | ||||
-rw-r--r-- | meta/packages/prism3-support/prism3-support_1.0.0.bb | 15 |
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 | ||
4 | if [ -n `cat /proc/net/wireless|grep $IFACE` ]; then | ||
5 | exit 0 | ||
6 | fi | ||
7 | |||
8 | if test -e /sbin/cardctl; then | ||
9 | CARDCTL=/sbin/cardctl | ||
10 | elif test -e /sbin/pccardctl; then | ||
11 | CARDCTL=/sbin/pccardctl | ||
12 | else | ||
13 | exit 0 | ||
14 | fi | ||
15 | |||
16 | # Special case for prism3 cards needing firmware upload | ||
17 | # Add more known manfids, if necessary | ||
18 | |||
19 | if [ `$CARDCTL info|grep "d601,0010\|d601,0101"` ]; then | ||
20 | iwpriv "$IFACE" reset 1 | ||
21 | hostap_fw_load "$IFACE" | ||
22 | fi | ||
23 | |||
24 | # lets hope that run-parts obeys the order :D | ||
25 | |||
26 | exit 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 @@ | |||
1 | DESCRIPTION = "meta-package for prism3 support through ifupdown and hostap_fw_load" | ||
2 | SECTION = "base" | ||
3 | LICENSE = "GPL" | ||
4 | DEPENDS = "prism3-firmware hostap-utils" | ||
5 | RDEPENDS = "prism3-firmware hostap-utils" | ||
6 | PACKAGE_ARCH = "all" | ||
7 | PR = "r3" | ||
8 | |||
9 | SRC_URI = "file://hostap-fw-load" | ||
10 | |||
11 | do_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 | |||