net: Pass network device to net_answer_arp()
The caller already has the correct network device, so pass it
to net_answer_arp() rather than using eth_get_current() there.
This is a step towards making a global current network device
unnecessary.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 5ed70d2 commit a622565d06b0747458b59240c71f92b6925f562c
@Sascha Hauer Sascha Hauer authored on 14 Jul 2016
Showing 1 changed file
View
net/net.c