Skip to content

Commit 7fd6b71

Browse files
author
Teppo Järvelin
committed
Moved APN_db.h under new cellular.
1 parent bee31ad commit 7fd6b71

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

features/netsocket/cellular/generic_modem_driver/PPPCellularInterface.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include <string.h>
2424
#include "nsapi_ppp.h"
2525
#if MBED_CONF_PPP_CELL_IFACE_APN_LOOKUP
26-
#include "utils/APN_db.h"
26+
#include "APN_db.h"
2727
#endif //MBED_CONF_PPP_CELL_IFACE_APN_LOOKUP
2828
#if defined(FEATURE_COMMON_PAL)
2929
#include "mbed_trace.h"
@@ -574,12 +574,12 @@ nsapi_error_t PPPCellularInterface::connect()
574574
user_specified_apn = true;
575575
#endif
576576
}
577-
577+
578578
if (is_connected()) {
579579
return NSAPI_ERROR_IS_CONNECTED;
580580
} else if (_connect_status == NSAPI_STATUS_CONNECTING) {
581581
return NSAPI_ERROR_ALREADY;
582-
}
582+
}
583583

584584
_connect_status = NSAPI_STATUS_CONNECTING;
585585
if (_connection_status_cb) {
@@ -681,7 +681,7 @@ nsapi_error_t PPPCellularInterface::connect()
681681
}
682682

683683
tr_info("The APN being used is %s.\n", _apn);
684-
684+
685685
/* Attempt to enter data mode */
686686
success = set_atd(_at); //enter into Data mode with the modem
687687
if (!success) {

0 commit comments

Comments
 (0)