/* Note : separate from irlmp_do_discovery() so that we can handle passive discovery properly.  */
void irlmp_do_expiry(void)
/* Note : separate from irlmp_do_discovery() so that we can handle passive discovery properly.  */
void irlmp_do_expiry(void)
{
	struct lap_cb *lap;
	lap = (struct lap_cb *) hashbin_get_first(irlmp->links);
	while (lap != NULL) {
		IRDA_ASSERT(lap->magic == LMP_LAP_MAGIC, return;);
		if (lap->lap_state == LAP_STANDBY) {
			irlmp_expire_discoveries(irlmp->cachelog, lap->saddr,
						 FALSE);
		}
		lap = (struct lap_cb *) hashbin_get_next(irlmp->links);
	}
}