@@ -139,7 +139,6 @@ static uint8_t cmux_frame_dlci2_at_cgdcont[] = {
139139 0x54 , 0x3D , 0x31 , 0x2C , 0x22 , 0x49 , 0x50 , 0x22 , 0x2C , 0x22 , 0x74 , 0x72 , 0x61 ,
140140 0x63 , 0x6B , 0x75 , 0x6E , 0x69 , 0x74 , 0x2E , 0x6D , 0x32 , 0x6D , 0x22 , 0x23 , 0xF9 };
141141
142-
143142static uint8_t cmux_frame_data_dlci2_at_cgdcont [] = {
144143 0x41 , 0x54 , 0x2B , 0x43 , 0x47 , 0x44 , 0x43 , 0x4F , 0x4E , 0x54 , 0x3D ,
145144 0x31 , 0x2C , 0x22 , 0x49 , 0x50 , 0x22 , 0x2C , 0x22 , 0x74 , 0x72 , 0x61 ,
@@ -150,7 +149,7 @@ static uint8_t cmux_frame_dlci2_at_newline[] = {0xF9, 0x0B, 0xEF, 0x05, 0x0D, 0x
150149static uint8_t cmux_frame_data_dlci2_at_newline [] = {0x0D , 0x0A };
151150
152151/*************************************************************************************************/
153- /* DLCI2 AT CMUX error frames */
152+ /* DLCI2 AT CMUX error frames */
154153/*************************************************************************************************/
155154
156155static uint8_t cmux_frame_dlci2_at_cgdcont_invalid_length [] = {
@@ -824,21 +823,21 @@ ZTEST(modem_cmux, test_modem_cmux_prevent_work_while_released)
824823 zassert_ok (modem_pipe_open (dlci2_pipe , K_SECONDS (10 )));
825824}
826825
827- ZTEST (modem_cmux , test_modem_drop_frames_with_invalid_length ){
826+ ZTEST (modem_cmux , test_modem_drop_frames_with_invalid_length )
827+ {
828828
829829 int ret ;
830830 uint32_t events ;
831831
832-
833832 modem_backend_mock_put (& bus_mock , cmux_frame_dlci2_at_cgdcont_invalid_length ,
834- sizeof (cmux_frame_dlci2_at_cgdcont_invalid_length ));
833+ sizeof (cmux_frame_dlci2_at_cgdcont_invalid_length ));
835834
836835 k_msleep (100 );
837-
836+
838837 events = k_event_test (& cmux_event , EVENT_CMUX_DLCI2_RECEIVE_READY );
839838
840839 zassert_false (events & EVENT_CMUX_DLCI2_RECEIVE_READY ,
841- "Receive event should not have been received for DLCI2 pipe" );
840+ "Receive event should not have been received for DLCI2 pipe" );
842841
843842 modem_backend_mock_put (& bus_mock , cmux_frame_dlci2_at_cgdcont ,
844843 sizeof (cmux_frame_dlci2_at_cgdcont ));
0 commit comments