[PATCH] nl80211 hostapd driver: clean up netlink code

Jouni Malinen j
Mon Sep 29 09:44:31 PDT 2008


On Mon, Sep 29, 2008 at 04:38:44PM +0200, Johannes Berg wrote:
> Put it into a single place instead of having it all over.

Thanks, applied.

I did not include the change to use volatile pointer for err value since
I hope that such a trick is not needed. Is the compiler really allowed
to "optimize" away such a case? &err is an int*, but it is given to a
function as a void* parameter. Is strict aliasing going to cause
problems because of that?

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list