Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
d2f1393b
Commit
d2f1393b
authored
Aug 05, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fsm.c: trivial fix in message
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
da92cc2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fsm.c
fsm.c
+3
-3
No files found.
fsm.c
View file @
d2f1393b
...
...
@@ -58,8 +58,8 @@ static void pp_diag_fsm(struct pp_instance *ppi, char *name, int sequence,
return
;
}
/* leave has one \n more, so different states are separate */
pp_fsm_printf
(
ppi
,
"LEAVE %s (next: %3i
in %i ms
)
\n\n
"
,
name
,
ppi
->
next_state
,
ppi
->
next_delay
);
pp_fsm_printf
(
ppi
,
"LEAVE %s (next: %3i)
\n\n
"
,
name
,
ppi
->
next_state
);
}
/*
...
...
@@ -120,7 +120,7 @@ int pp_state_machine(struct pp_instance *ppi, uint8_t *packet, int plen)
ppi
->
state
=
ppi
->
next_state
;
ppi
->
is_new_state
=
1
;
pp_diag_fsm
(
ppi
,
ip
->
name
,
STATE_LEAVE
,
0
);
return
0
;
return
0
;
/* next_delay unused: go to new state now */
}
ppi
->
is_new_state
=
0
;
pp_diag_fsm
(
ppi
,
ip
->
name
,
STATE_LOOP
,
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment