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

Johannes Berg johannes at sipsolutions.net
Tue Apr 9 09:45:15 EDT 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