Skip to content
Commit 63edaf64 authored by Alexander Beregalov's avatar Alexander Beregalov Committed by David S. Miller
Browse files

Au1x00: fix crash when trying register_netdev()



Andreas Lohre reported that the driver crashes when trying
to register_netdev(), he sugessted to move dev->netdev_ops initialization
before calling register_netdev(), it worked for him.

Reported-by: default avatarAndreas Lohre <alohre@gmail.com>
Signed-off-by: default avatarAlexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5d09e534
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment