commit | b8c4b67e3ec3918a40234e5c56221f780c7856fc | [log] [tgz] |
---|---|---|
author | Philippe Mathieu-Daudé <philmd@redhat.com> | Thu Mar 05 18:56:49 2020 +0100 |
committer | Jason Wang <jasowang@redhat.com> | Tue Mar 31 21:14:35 2020 +0800 |
tree | 1ca475ca3fe280e0f857cfe1160b52753b53bd72 | |
parent | 3317db743972f665e2753c75703538d51241350a [diff] |
hw/net: Make NetCanReceive() return a boolean The NetCanReceive handler return whether the device can or can not receive new packets. Make it obvious by returning a boolean type. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Jason Wang <jasowang@redhat.com>