Skip to content
Snippets Groups Projects
Commit 21e197f2 authored by Ivan Vecera's avatar Ivan Vecera Committed by Francois Romieu
Browse files

r8169: fix oops in r8169_get_mac_version


r8169_get_mac_version crashes when it meets an unknown MAC
due to tp->pci_dev not being set. Initialize it early.

Signed-off-by: default avatarIvan Vecera <ivecera@redhat.com>
Acked-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
parent cee60c37
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment