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