projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a203c2a
)
b43: bus: fix memory corruption when setting driver's data
author
Rafał Miłecki
<zajec5@gmail.com>
Fri, 22 Jul 2011 11:11:04 +0000
(13:11 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 26 Jul 2011 20:27:30 +0000
(16:27 -0400)
Fixes bug described in:
https://bugzilla.kernel.org/show_bug.cgi?id=39172
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/bus.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/b43/bus.c
b/drivers/net/wireless/b43/bus.c
index
64c3f65
..
05f6c7b
100644
(file)
--- a/
drivers/net/wireless/b43/bus.c
+++ b/
drivers/net/wireless/b43/bus.c
@@
-244,10
+244,12
@@
void b43_bus_set_wldev(struct b43_bus_dev *dev, void *wldev)
#ifdef CONFIG_B43_BCMA
case B43_BUS_BCMA:
bcma_set_drvdata(dev->bdev, wldev);
+ break;
#endif
#ifdef CONFIG_B43_SSB
case B43_BUS_SSB:
ssb_set_drvdata(dev->sdev, wldev);
+ break;
#endif
}
}