From 7756e3700f424aa26a9a8fb63a40d90b6f8d8496 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 11 Jul 2017 10:46:39 -0700 Subject: [PATCH] ublox: Add missing break statement --- plugins/ublox.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/ublox.c b/plugins/ublox.c index 2ced577f..250a5be4 100644 --- a/plugins/ublox.c +++ b/plugins/ublox.c @@ -48,9 +48,9 @@ static const char *none_prefix[] = { NULL }; enum supported_models { SARA_G270 = 1102, - TOBYL2_COMPATIBLE_MODE = 1141, - TOBYL2_MEDIUM_THROUGHPUT_MODE = 1143, - TOBYL2_HIGH_THROUGHPUT_MODE = 1146, + TOBYL2_COMPATIBLE_MODE = 1141, + TOBYL2_MEDIUM_THROUGHPUT_MODE = 1143, + TOBYL2_HIGH_THROUGHPUT_MODE = 1146, }; struct ublox_data { @@ -178,6 +178,7 @@ static int ublox_enable(struct ofono_modem *modem) break; case TOBYL2_MEDIUM_THROUGHPUT_MODE: DBG("low/medium throughtput profile unsupported"); + break; default: DBG("unknown ublox model id %d", data->model_id); return -EINVAL;