net: tests: Fix ARP test so that it will not crash
The driver_api pointer was set to NULL which will cause a crash in TX fiber. Change-Id: If1c9a1e44904970f3a0019741eaaad4bf62d2c73 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
87fd856041
commit
a1a17d5a98
1 changed files with 0 additions and 1 deletions
|
@ -63,7 +63,6 @@ int net_arp_dev_init(struct device *dev)
|
|||
{
|
||||
struct net_arp_context *net_arp_context = dev->driver_data;
|
||||
|
||||
dev->driver_api = NULL;
|
||||
net_arp_context = net_arp_context;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue