WPS ER: Make sure PIN timeout does not interrupt PBC operation
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 23 Sep 2010 21:45:55 +0000 (14:45 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 23 Sep 2010 21:45:55 +0000 (14:45 -0700)
commita9d69254e30922136829be38179c924d1a632617
tree75ff137caec9d6dfea86f9556696bbcd092d4620
parent403b96fe4f31e4bf2ca7f2715da179bc7b025085
WPS ER: Make sure PIN timeout does not interrupt PBC operation

We need to clear the selected registrar timeout from wps_er_learn
when stopping the protocol run at M7 (previously, this was done only
when WSC_Done was being processed). In addition, we need to cancel
the timeout when a new PBC operation is started.
src/wps/wps_er.c
src/wps/wps_registrar.c