summaryrefslogtreecommitdiff
path: root/packages/misc-binary-only
diff options
context:
space:
mode:
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)