b43-dev.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [patch] b43: N-PHY: fix gain in b43_nphy_get_gain_ctl_workaround_ent()
@ 2013-01-13 20:03 Dan Carpenter
  2013-01-14 20:04 ` John W. Linville
  0 siblings, 1 reply; 7+ messages in thread
From: Dan Carpenter @ 2013-01-13 20:03 UTC (permalink / raw)
  To: Stefano Brivio; +Cc: John W. Linville, linux-wireless, b43-dev, kernel-janitors

There were no break statements in this switch statement so everything
used the default settings.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
Static checker stuff.  Untested.

diff --git a/drivers/net/wireless/b43/tables_nphy.c b/drivers/net/wireless/b43/tables_nphy.c
index 97d4e27..6a1c838 100644
--- a/drivers/net/wireless/b43/tables_nphy.c
+++ b/drivers/net/wireless/b43/tables_nphy.c
@@ -3259,20 +3259,28 @@ struct nphy_gain_ctl_workaround_entry *b43_nphy_get_gain_ctl_workaround_ent(
 		switch (tr_iso) {
 		case 0:
 			e->cliplo_gain = 0x0062;
+			break;
 		case 1:
 			e->cliplo_gain = 0x0064;
+			break;
 		case 2:
 			e->cliplo_gain = 0x006a;
+			break;
 		case 3:
 			e->cliplo_gain = 0x106a;
+			break;
 		case 4:
 			e->cliplo_gain = 0x106c;
+			break;
 		case 5:
 			e->cliplo_gain = 0x1074;
+			break;
 		case 6:
 			e->cliplo_gain = 0x107c;
+			break;
 		case 7:
 			e->cliplo_gain = 0x207c;
+			break;
 		default:
 			e->cliplo_gain = 0x106a;
 		}

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-01-20 21:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-13 20:03 [patch] b43: N-PHY: fix gain in b43_nphy_get_gain_ctl_workaround_ent() Dan Carpenter
2013-01-14 20:04 ` John W. Linville
2013-01-17 19:03   ` walter harms
2013-01-18 13:36     ` [patch v2] " Dan Carpenter
2013-01-18 13:53       ` David Laight
2013-01-20 16:31         ` [patch v3] " Dan Carpenter
2013-01-20 21:01           ` Rafał Miłecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).