summaryrefslogtreecommitdiff
path: root/packages/misc-binary-only
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2007-01-02 00:04:48 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2007-01-02 00:04:48 +0000
commit49377b6bf81825481bb3c949520b7819af605bad (patch)
tree1a343f738e97f2b9f8929b7f48c81fe567fb69d4 /packages/misc-binary-only
parent49168b1bd065468e41c98b5c294be98dc90f533e (diff)
parent8d7a61dba67097e2b57ee4be1a531a7e3fd2153e (diff)
merge of '132be09ee353f798eadc984f8f09e27e68180850'
and 'c0e1d74b2a331789caaf72b458b57924d21c7da3'
Diffstat (limited to 'packages/misc-binary-only')
-rw-r--r--packages/misc-binary-only/prism2-firmware-update_1.7.4.bb6
-rw-r--r--packages/misc-binary-only/tda1004x-firmware.bb2
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/misc-binary-only/prism2-firmware-update_1.7.4.bb b/packages/misc-binary-only/prism2-firmware-update_1.7.4.bb
index c26a714ee7..e37cfd6562 100644
--- a/packages/misc-binary-only/prism2-firmware-update_1.7.4.bb
+++ b/packages/misc-binary-only/prism2-firmware-update_1.7.4.bb
@@ -19,7 +19,7 @@ if test "x$D" != "x"; then
exit 1
else
FW_VERSION="v${PV}";
-
+
fw_upgrade() {
IF=$1;
echo "firmware upgrade on $IF"
@@ -29,13 +29,13 @@ else
if [[ `hostap_diag $IF | grep STAID | awk '{print $3}'` < $FW_VERSION ]]; then
echo " - upgrading to version $FW_VERSION"
prism2_srec -f $IF /tmp/sf010704.hex /tmp/pk010101.hex
- else
+ else
echo " - upgrade not necessary"
fi
fi
echo "done".
}
-
+
for i in `ls /proc/net/hostap`; do
fw_upgrade $i;
done;
diff --git a/packages/misc-binary-only/tda1004x-firmware.bb b/packages/misc-binary-only/tda1004x-firmware.bb
index 317a980852..1e4d68532f 100644
--- a/packages/misc-binary-only/tda1004x-firmware.bb
+++ b/packages/misc-binary-only/tda1004x-firmware.bb
@@ -12,7 +12,7 @@ python do_unpack() {
if not overrides:
raise bb.build.FuncFailed('OVERRIDES not defined')
bb.data.setVar('OVERRIDES', overrides+':'+bb.data.getVar('PN', localdata, 1), localdata)
-
+
bb.data.update_data(localdata)
src_uri = bb.data.getVar('SRC_URI', localdata)