]> Git Repo - qemu.git/commit
hw/usb-net.c: Fix precedence bug when checking rndis_state
authorPeter Maydell <[email protected]>
Wed, 9 Nov 2011 21:09:23 +0000 (21:09 +0000)
committerAndrzej Zaborowski <[email protected]>
Mon, 14 Nov 2011 01:19:24 +0000 (02:19 +0100)
commite7852674d5013bffd0bb8e822a7521f76677a60b
treec4ce2220ca9639e315874485ddf2ee69da0e2c1d
parent88365e47dd19da8776252a94ed5fa0b7242ea9e9
hw/usb-net.c: Fix precedence bug when checking rndis_state

"!X == 2" is always false (spotted by Coverity), so the checks
for whether rndis is in the correct state would never fire.

Signed-off-by: Peter Maydell <[email protected]>
Signed-off-by: Andrzej Zaborowski <[email protected]>
hw/usb-net.c
This page took 0.027037 seconds and 4 git commands to generate.