notify_context_status_changed(co_ps, cid, PS_DATA_CALL_NOT_CONNECTED);
- if (tcore_hal_setup_netif(h, co_ps, NULL, ps_context, cid,
+ if (tcore_hal_setup_netif(h, co_ps, NULL, NULL, cid,
FALSE) != TCORE_RETURN_SUCCESS)
err("Failed to disable network interface");
const char *line = lines->data;
char *noti_data;
unsigned int cid;
+ TcoreHal *hal;
dbg("Enter");
notify_context_status_changed(co_ps, cid, PS_DATA_CALL_NOT_CONNECTED);
+ hal = tcore_object_get_hal(co_ps);
+ if (tcore_hal_setup_netif(hal, co_ps, NULL, NULL, cid,
+ FALSE) != TCORE_RETURN_SUCCESS)
+ err("Failed to disable network interface");
+
out:
tcore_at_tok_free(tokens);