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 cf1df6c commit 87c4de4ddcc55d1ec5eb66d1750fe0041bad582d
@Sascha Hauer Sascha Hauer authored on 15 Sep 2014
Showing 1 changed file
View
net/eth.c