Skip to content
Commit eb69c5bf authored by Jia-Ju Bai's avatar Jia-Ju Bai Committed by David S. Miller
Browse files

ne2k-pci: Add pci_disable_device in error handling



For linux-3.18.0
The driver lacks pci_disable_device in error handling code of
ne2k_pci_init_one, so the device enabled by pci_enable_device is not
disabled when errors occur.
This patch fixes this problem.

Signed-off-by: default avatarJia-Ju Bai <baijiaju1990@163.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a22a9e41
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