Hi,

On Fri, May 29, 2015 at 06:29:50PM +0300, Tomasz Bursztyka wrote:
> I remember Jussi had a patch for that already when he found out such
> issue. We may have missed it.
> 
> Verify anyway in wpa_supplicant, afaik the dbus part does not use
> wps_dev_type_str2bin()

wpa_supplicant uses wps_dev_type_str2bin() when reading from the config
files. There you need to specify <category>-<OUI>-<sub-category>.
wps_dev_type_str2bin() converts category and sub-category (both integers in
decimal form) to big-endian. The D-Bus API just converts the hex string to
bytes, so it must already have the correct byte order.

Regards,
Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to