[PATCH v2 08/10] nl80211_driver: implement init and deinit P2P device functions

Johannes Berg johannes
Tue Apr 9 06:45:15 PDT 2013


On Sun, 2013-03-17 at 22:57 +0200, David Spinadel wrote:

> +	for (last = &drv->first_bss; last->next && last->next != p2p_dev;
> +	     last = last->next)
> +		;

Why is all this end-of-list handling needed?

johannes




More information about the Hostap mailing list