On Fri, 2012-12-14 at 10:17 -0800, Javier Cardona wrote:

> > +       setup->is_authenticated = ifmsh->security & 
> > IEEE80211_MESH_SEC_AUTHED;
> +       setup->is_authenticated = !!(ifmsh->security &
> IEEE80211_MESH_SEC_AUTHED));
> 
> i.e. to force the value to be 0 or 1.

is_authenticate is a bool, so no need, the compiler has to do it.

johannes

_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to