Messages in this thread | | | Subject | Re: [PATCH 1/4] mac80211: OCB mode + join and leave handling | From | Johannes Berg <> | Date | Mon, 20 Oct 2014 11:41:45 +0200 |
| |
On Thu, 2014-10-16 at 19:20 +0200, Rostislav Lisovy wrote:
> Now I realized it is not that easy (and I confused "interface running" > and being "connected to the network"). There seems not to be a solid > indication that we are no longer "connected" to the network.
Oops, ignore my previous reply.
> I think a field > enum { > IEEE80211_OCB_STOPPED, > IEEE80211_OCB_JOINED, > } state; > in struct ieee80211_if_ocb seems to be appropriate.
Yes, that seems doable. Maybe just a "bool joined" would work just as well, but it won't make a difference in the result - whichever you prefer.
johannes
| |