Fixed FoE data opcode, thanks to R. Roesch. stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Tue, 05 Feb 2013 14:10:46 +0100
branchstable-1.5
changeset 2501 64cdc3b59d25
parent 2500 97fd83907c7c
child 2502 906ef8b1c0ec
Fixed FoE data opcode, thanks to R. Roesch.
master/fsm_foe.c
--- a/master/fsm_foe.c	Tue Feb 05 13:56:29 2013 +0100
+++ b/master/fsm_foe.c	Tue Feb 05 14:10:46 2013 +0100
@@ -257,7 +257,7 @@
         return -1;
     }
 
-    EC_WRITE_U8 (data, EC_FOE_OPCODE_DATA);    // OpCode = DataBlock req.
+    EC_WRITE_U16(data, EC_FOE_OPCODE_DATA);    // OpCode = DataBlock req.
     EC_WRITE_U32(data + 2, fsm->tx_packet_no); // PacketNo, Password
 
     memcpy(data + EC_FOE_HEADER_SIZE,