PPP, PPPoS, moved advise about modem from pppos_create() to ppp_open()

pppos_create() can be called whether the modem is ready to process the
PPP session since pppos_create() does not start the PPP session anymore,
moved the advise from pppos_create() to ppp_open().
This commit is contained in:
Sylvain Rochet
2015-02-22 16:20:03 +01:00
parent 1e82003bf9
commit b0b7240022
3 changed files with 6 additions and 3 deletions

View File

@@ -460,6 +460,9 @@ void ppp_set_notify_phase_callback(ppp_pcb *pcb, ppp_notify_phase_cb_fn notify_p
*
* Holdoff is the time to wait (in seconds) before initiating
* the connection.
*
* If this port connects to a modem, the modem connection must be
* established before calling this.
*/
err_t ppp_open(ppp_pcb *pcb, u16_t holdoff);