Skip to content
Snippets Groups Projects
Commit 44c28ea2 authored by Chris Talbot's avatar Chris Talbot
Browse files

Release 0.1.1 , Fix issue in Bearer Handler.

parent e91cdbda
No related branches found
Tags v0.1-1
No related merge requests found
......@@ -3,6 +3,7 @@
* Multimedia Messaging Service
*
* Copyright (C) 2010-2011 Intel Corporation. All rights reserved.
* Updated 2021: kop316, fuzzy7k, craftyguy, Mohammad Sadiq
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
......@@ -627,7 +628,7 @@ static void bearer_handler(mms_bool_t active, void *user_data)
mms_error("active and context_active, bearer_notify");
mms_service_bearer_notify(modem->service, TRUE, modem->context_interface, modem->MMS_proxy);
return;
} else if (active == TRUE&& modem->context_active == FALSE) {
} else if (active == TRUE && modem->context_active == FALSE) {
mms_error("Error activating context!");
mms_service_bearer_notify(modem->service, FALSE, NULL, NULL);
return;
......@@ -640,6 +641,7 @@ static void bearer_handler(mms_bool_t active, void *user_data)
return;
} else {
mms_error("No failures");
mms_service_bearer_notify(modem->service, FALSE, NULL, NULL);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment