net: eth: open correct edev in eth_check_open
eth_check_open gets the network device to check as parameter, so
use it rather than using eth_current. Currently both are the same,
so this currently does not fix anything.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ffc5fe0 commit 048864571f4816f34259519b31033c3986cb2e88
@Sascha Hauer Sascha Hauer authored on 18 May 2016
Showing 1 changed file
View
net/eth.c