summaryrefslogtreecommitdiff
path: root/recipes-core
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-09-14 17:29:28 -0500
commit1e9c293760368bcfe7ce4e6e932a44266b743881 (patch)
treeef0261ff96de46522e39e565650417e9c74af1ec /recipes-core
parent0905bccd773c060999563665b873a06255cb03f8 (diff)
downloadmeta-mlinux-atmel-1e9c293760368bcfe7ce4e6e932a44266b743881.tar.gz
meta-mlinux-atmel-1e9c293760368bcfe7ce4e6e932a44266b743881.tar.bz2
meta-mlinux-atmel-1e9c293760368bcfe7ce4e6e932a44266b743881.zip
Correct the valid firmware image number to 0 and 1
Diffstat (limited to 'recipes-core')
-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