summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-08-25 19:35:04 -0500
committerJohn Klug <john.klug@multitech.com>2017-08-25 19:35:04 -0500
commit8407594e7a5e256c20f5be1c340fa977308ca26e (patch)
tree706a73b8edbf5bccacd0ae07b3588b1805457c12
parent71044a738cb70f9936500ff6ec8eb520c78a99c1 (diff)
downloadmeta-mlinux-8407594e7a5e256c20f5be1c340fa977308ca26e.tar.gz
meta-mlinux-8407594e7a5e256c20f5be1c340fa977308ca26e.tar.bz2
meta-mlinux-8407594e7a5e256c20f5be1c340fa977308ca26e.zip
Correct the valid firmware image number to 0 and 1
-rwxr-xr-xrecipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh b/recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh
index 861532b..6e127e6 100755
--- a/recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh
+++ b/recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh
@@ -1,7 +1,7 @@
#!/bin/sh
-if [ $# -gt 2 ] || [ $# -lt 1 ]; then
+if [ $# -gt 1 ] || [ $# -lt 0 ]; then
echo "\
Usage: $0 <image_id> [timeout]
image_id <0|1> : for dual FW image SKU-s, the id of the image to switch to