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

דוד ספינדל dvdspndl at gmail.com
Wed Apr 10 00:50:38 EDT 2013


To handle a case that we are trying to deinit P2P device before creating it
(as a part of some error flow).

David


On Tue, Apr 9, 2013 at 4:45 PM, Johannes Berg <johannes at sipsolutions.net>wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20130410/a473d5d1/attachment.htm>


More information about the HostAP mailing list