diff options
author | Peter Crosthwaite <crosthwaitepeter@gmail.com> | 2015-09-10 21:23:43 -0700 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-09-17 12:36:03 +0100 |
commit | 8d06b149271cbd5b19bed5bde8da5ecef40ecbc6 (patch) | |
tree | 6ad8fb59a040a3b0f827956f78d023c7af3814f8 /hw/display/pl110_template.h | |
parent | 5fc51cc3ddcc7035313fc3e0ee6f351b5c083491 (diff) | |
download | qemu-8d06b149271cbd5b19bed5bde8da5ecef40ecbc6.zip qemu-8d06b149271cbd5b19bed5bde8da5ecef40ecbc6.tar.gz qemu-8d06b149271cbd5b19bed5bde8da5ecef40ecbc6.tar.bz2 |
net: smc91c111: guard flush_queued_packets() on can_rx()
Check that the core can once again receive packets before asking the
net layer to do a flush. This will make it more convenient to flush
packets when adding new conditions to can_receive.
Add missing if braces while moving the can_receive() core code.
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Tested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Message-id: 92e15e12a6964274f4bc0eb71b61a7d94326f6c6.1441873621.git.crosthwaite.peter@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/display/pl110_template.h')
0 files changed, 0 insertions, 0 deletions