*val = htons(tlv_msg[0] | tlv_msg[1] << 8);


Let's take that one, but with ntohs() (patch has a bug here)

Tomasz
_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to