aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Ngu <daniel.dy.ngu@gmail.com>2010-03-22 07:52:44 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-03-23 16:51:59 -0400
commitc5a079f46aabff026b2acaba0a2579a74c3c3731 (patch)
tree0329dc2fad5dd183ce34041cc44150b532cc39ee
parent1e4dcd012423b6a28f968a55886d2b27896a1586 (diff)
drivers/net/wireless/b43/main.c:4351: Fixed coding style
WARNING: braces {} are not necessary for any arm of this statement Signed-off-by: Daniel Ngu <daniel.dy.ngu@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/b43/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 1521b1e78d21..14cf3bd7ea51 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -4348,11 +4348,10 @@ static int b43_wireless_core_init(struct b43_wldev *dev)
4348 b43_set_phytxctl_defaults(dev); 4348 b43_set_phytxctl_defaults(dev);
4349 4349
4350 /* Minimum Contention Window */ 4350 /* Minimum Contention Window */
4351 if (phy->type == B43_PHYTYPE_B) { 4351 if (phy->type == B43_PHYTYPE_B)
4352 b43_shm_write16(dev, B43_SHM_SCRATCH, B43_SHM_SC_MINCONT, 0x1F); 4352 b43_shm_write16(dev, B43_SHM_SCRATCH, B43_SHM_SC_MINCONT, 0x1F);
4353 } else { 4353 else
4354 b43_shm_write16(dev, B43_SHM_SCRATCH, B43_SHM_SC_MINCONT, 0xF); 4354 b43_shm_write16(dev, B43_SHM_SCRATCH, B43_SHM_SC_MINCONT, 0xF);
4355 }
4356 /* Maximum Contention Window */ 4355 /* Maximum Contention Window */
4357 b43_shm_write16(dev, B43_SHM_SCRATCH, B43_SHM_SC_MAXCONT, 0x3FF); 4356 b43_shm_write16(dev, B43_SHM_SCRATCH, B43_SHM_SC_MAXCONT, 0x3FF);
4358 4357