mbed library sources

Fork of mbed-src by mbed official

Revision:
395:bfce16e86ea4
Parent:
285:31249416b6f9
Child:
422:e47af1a0fffe
diff -r 83f921546702 -r bfce16e86ea4 common/mbed_interface.c
--- a/common/mbed_interface.c	Fri Nov 07 15:45:07 2014 +0000
+++ b/common/mbed_interface.c	Mon Nov 10 07:45:06 2014 +0000
@@ -98,6 +98,7 @@
             mac[i] = byte;
             p += 2;
         }
+        mac[0] &= ~0x01;    // reset the IG bit in the address; see IEE 802.3-2002, Section 3.2.3(b)
     } else {  // else return a default MAC
 #endif
         mac[0] = 0x00;