summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-08-29 16:06:29 -0500
committerJohn Klug <john.klug@multitech.com>2018-08-29 16:06:29 -0500
commit3212a35810c656e1db1350522f3f1277b1b88d06 (patch)
tree79381fdf9d65d7ef6811261a27c175526a970806 /recipes-bsp
parent17124e5a5100dc2243badc5f546d2715c0861768 (diff)
downloadmeta-multitech-3212a35810c656e1db1350522f3f1277b1b88d06.tar.gz
meta-multitech-3212a35810c656e1db1350522f3f1277b1b88d06.tar.bz2
meta-multitech-3212a35810c656e1db1350522f3f1277b1b88d06.zip
Simpler check for MTCDTIPHP4.0.2
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/multitech/mts-io/mts-io.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/multitech/mts-io/mts-io.init b/recipes-bsp/multitech/mts-io/mts-io.init
index c3c3216..a4a464e 100644
--- a/recipes-bsp/multitech/mts-io/mts-io.init
+++ b/recipes-bsp/multitech/mts-io/mts-io.init
@@ -190,7 +190,7 @@ set_gpslink() {
# For all hardware except MTCDTIPHP, the gpscapability
# flag indicates whether or not we have a GPS.
- if ! [[ ${hw_name} =~ ^MTCDTIPHP$ ]] && ((gpscap == 0)) ; then
+ if [[ ${hw_name} != MTCDTIPHP ]] && ((gpscap == 0)) ; then
return
fi