Skip to content

Commit 99afc7b

Browse files
committed
tests: Fix network module unit tests
Fix network module unit tests by updating handling of lte lc modem events to match the event structure. Signed-off-by: Simen S. Røstad <[email protected]>
1 parent 741e828 commit 99afc7b

File tree

1 file changed

+2
-2
lines changed
  • tests/module/network/src

1 file changed

+2
-2
lines changed

tests/module/network/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,11 @@ static void send_uicc_failure(void)
182182
lte_evt_handler(&evt);
183183
}
184184

185-
static void send_mdmev_evt(enum lte_lc_modem_evt evt)
185+
static void send_mdmev_evt(enum lte_lc_modem_evt_type evt)
186186
{
187187
struct lte_lc_evt lte_evt = {
188188
.type = LTE_LC_EVT_MODEM_EVENT,
189-
.modem_evt = evt,
189+
.modem_evt.type = evt,
190190
};
191191

192192
lte_evt_handler(&lte_evt);

0 commit comments

Comments
 (0)