PushOOB() method implementation.
Currently it only supports basic open/psk based provisions.
EAP has yet to be supported.
---
plugins/neard.c | 275 +---
1 file changed, 262 insertions(+), 13 deletions(-)
diff --git a/plugins/neard.c b/plugins/n
Hi Tomasz,
On 22.02.2013 15:31, Tomasz Bursztyka wrote:
+static int recover_2b_from_tlv(const uint8_t *tlv_msg, uint16_t *val)
+{
+ uint16_t ne_val;
+ uint8_t *rec;
+
+ rec = (uint8_t *) &ne_val;
+ rec[0] = tlv_msg[0];
+ rec[1] = tlv_msg[1];
+
+ *val = htons(n
*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