]> git.baikalelectronics.ru Git - kernel.git/commit
ipw2100: don't return positive values to PCI probe on error
authorDan Williams <dcbw@redhat.com>
Wed, 12 Jul 2017 16:47:02 +0000 (11:47 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 28 Jul 2017 15:01:43 +0000 (18:01 +0300)
commit1f4bee418d8db54ac31f033e2814b77d6b633e0e
tree31e0f082bf178149b065f26d2f54143a58f8cbba
parent69f4ded975424b587d705e4faa112d3adb73c380
ipw2100: don't return positive values to PCI probe on error

Causes the PCI stack to complain, and then eventually call the
PCI remove function, which ipw2100 is not expecting.  It then
tries to unregister an already-released netdev and other nasty
things, leading to a panic.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1185518
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/ipw2x00/ipw2100.c