We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bde658 commit 90d7748Copy full SHA for 90d7748
features/cellular/framework/device/CellularContext.cpp
@@ -119,12 +119,14 @@ void CellularContext::do_connect_with_retry()
119
}
120
do_connect();
121
if (_cb_data.error == NSAPI_ERROR_OK) {
122
+#if !NSAPI_PPP_AVAILABLE
123
// Some modems don't get the ip address right after connect so we must
124
// validate it but even if we don't get ip we still send NSAPI_STATUS_GLOBAL_UP
125
if (!_nonip_req && !_cp_in_use) { // don't validate if non-ip case
126
validate_ip_address();
127
128
call_network_cb(NSAPI_STATUS_GLOBAL_UP);
129
+#endif
130
return;
131
132
0 commit comments