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