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 48199fd commit 5c0bd50319f20655b3c6e93ac9c7a72e44de7bd9
@Sascha Hauer Sascha Hauer authored on 15 Sep 2014
Showing 1 changed file
View
net/eth.c