summaryrefslogtreecommitdiff
path: root/packages/misc-binary-only/prism2-firmware-update_1.7.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/misc-binary-only/prism2-firmware-update_1.7.4.bb')
-rw-r--r--packages/misc-binary-only/prism2-firmware-update_1.7.4.bb6
1 files changed, 3 insertions, 3 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;