These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / roms / ipxe / src / net / 80211 / wpa_tkip.c
index fa3e076..3b1934b 100644 (file)
@@ -136,7 +136,7 @@ static const u16 Sbox[256] = {
  */
 static inline u16 S ( u16 v )
 {
-       return Sbox[v & 0xFF] ^ swap16 ( Sbox[v >> 8] );
+       return Sbox[v & 0xFF] ^ bswap_16 ( Sbox[v >> 8] );
 }
 
 /**