From 83f47bd69f7ed257be72bec3fd524cf4128ed29a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 5 Nov 2006 23:19:00 +0000 Subject: prism3-support: Only attempt prism firmware on wireless interfaces (#693). Could be improved to only try on hostap interfaces but requires sysfs magic incompatible with 2.4 --- packages/prism3-support/files/hostap-fw-load | 6 ++++++ packages/prism3-support/prism3-support_1.0.0.bb | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/prism3-support/files/hostap-fw-load b/packages/prism3-support/files/hostap-fw-load index 00df1ef848..707030c6a7 100644 --- a/packages/prism3-support/files/hostap-fw-load +++ b/packages/prism3-support/files/hostap-fw-load @@ -1,4 +1,9 @@ #!/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 @@ -18,3 +23,4 @@ fi # lets hope that run-parts obeys the order :D +exit 0 \ No newline at end of file diff --git a/packages/prism3-support/prism3-support_1.0.0.bb b/packages/prism3-support/prism3-support_1.0.0.bb index 830da22c2b..b3c00e422f 100644 --- a/packages/prism3-support/prism3-support_1.0.0.bb +++ b/packages/prism3-support/prism3-support_1.0.0.bb @@ -4,7 +4,7 @@ LICENSE = "GPL" DEPENDS = "prism3-firmware hostap-utils" RDEPENDS = "prism3-firmware hostap-utils" PACKAGE_ARCH = "all" -PR = "r2" +PR = "r3" SRC_URI = "file://hostap-fw-load" -- cgit v1.2.3