net: Call edev->recv with correct eth_device
edev->recv has to be called with edev as argument, not eth_current.
This fixes networking when multiple network devices are used and the
current one is switched during runtime.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a9d764a commit 068b38ca737bd1698c3e5cb1387e1b7e1a7e697e
@Sascha Hauer Sascha Hauer authored on 15 Sep 2014
Showing 1 changed file
View
net/eth.c