How to handle multiple SSIDs with the same BSS

Marcel Holtmann marcel
Tue Dec 29 16:23:17 PST 2009


Hi Witold,

> > for the new or old D-Bus API? Or should we try to somehow force separate
> > D-Bus connections (if that can even be done) for both implementations?
> > 
> I can be done easily, and it was done earlier (before merging new dbus
> code into), but Dan didn't like it and we ended up back with common
> connection doesn't really thinking much about consequences.
> To fore using separate connection for each API we need just to change
> dbus_bus_get to dbus_bus_get_private and dbus_connection_unref to
> dbus_connection_close in both API implementations.

please don't do that. Sharing the D-Bus connection is just fine. You
just need to protect the message handler correctly.

Regards

Marcel





More information about the Hostap mailing list