diff options
author | Martin Hundebøll <martin@geanix.com> | 2019-08-13 20:08:53 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2019-08-13 05:48:47 -0500 |
commit | bff7de95520ae965c491681d36de5aa239547f92 (patch) | |
tree | 15966b7b3f74eb8cf9b65cf6ec1f8dac5cf0cb38 /plugins | |
parent | cbd8a66e9554097e2e2a3c0704825a3af1a664ac (diff) | |
download | ofono-bff7de95520ae965c491681d36de5aa239547f92.tar.gz |
quectel: convert power event reasons to lower case
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/quectel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/quectel.c b/plugins/quectel.c index eef66ced..ccfc6c5f 100644 --- a/plugins/quectel.c +++ b/plugins/quectel.c @@ -365,27 +365,27 @@ static void voltage_handle(struct ofono_modem *modem, case LOW_POWER_DOWN: close = true; name = "PowerDown"; - reason = "VoltageLow"; + reason = "voltagelow"; break; case LOW_WARNING: close = false; name = "PowerWarning"; - reason = "VoltageLow"; + reason = "voltagelow"; break; case NORMAL_POWER_DOWN: close = true; name = "PowerDown"; - reason = "Normal"; + reason = "normal"; break; case HIGH_WARNING: close = false; name = "PowerWarning"; - reason = "VoltageHigh"; + reason = "voltagehigh"; break; case HIGH_POWER_DOWN: close = true; name = "PowerDown"; - reason = "VoltageHigh"; + reason = "voltagehigh"; break; default: return; |