]> git.proxmox.com Git - mirror_qemu.git/commit
net: cadence_gem: Remove incorrect assert()
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Fri, 23 Nov 2018 13:54:50 +0000 (14:54 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 26 Nov 2018 13:41:42 +0000 (13:41 +0000)
commit58102ce7fbb2362aa53984aabcf684d164da2d9d
tree830b9086c58861d08881206b775ee755bdbfe929
parent49154ea0bfdefa17e03bf927db38b8501deb294f
net: cadence_gem: Remove incorrect assert()

Don't assert on RX descriptor settings when the receiver is
disabled. This fixes an issue with incoming packets on an
unused GEM.

Reported-by: mbilal <muhammad_bilal@mentor.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20181123135450.24829-2-edgar.iglesias@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/cadence_gem.c