projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef7d1b2
)
[PATCH] spectrum_cs: Fix incorrect use of pcmcia_dev_present()
author
Pavel Roskin
<proski@gnu.org>
Wed, 16 Aug 2006 00:42:20 +0000
(20:42 -0400)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 23 Aug 2006 18:20:37 +0000
(14:20 -0400)
This bug was introduced during the PCMCIA API conversion and broke
spectrum_cs completely.
Tracked down by Fredrik Tolf <fredrik@dolda2000.com>
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/spectrum_cs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/spectrum_cs.c
b/drivers/net/wireless/spectrum_cs.c
index 7f78b7801fb3de996a2ad1dff87cce905904efd7..bcc7038130f69a1355871e8abc5884ff2d386863 100644
(file)
--- a/
drivers/net/wireless/spectrum_cs.c
+++ b/
drivers/net/wireless/spectrum_cs.c
@@
-242,7
+242,7
@@
spectrum_reset(struct pcmcia_device *link, int idle)
u_int save_cor;
/* Doing it if hardware is gone is guaranteed crash */
- if (pcmcia_dev_present(link))
+ if (
!
pcmcia_dev_present(link))
return -ENODEV;
/* Save original COR value */