diff mbox

b43: fix two warnings

Message ID 1259749236.32171.151.camel@johannes.local (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Johannes Berg Dec. 2, 2009, 10:20 a.m. UTC
None
diff mbox

Patch

--- wireless-testing.orig/drivers/net/wireless/b43/leds.c	2009-12-02 11:15:53.000000000 +0100
+++ wireless-testing/drivers/net/wireless/b43/leds.c	2009-12-02 11:16:26.000000000 +0100
@@ -246,6 +246,7 @@  static void b43_led_get_sprominfo(struct
 			*behaviour = B43_LED_OFF;
 			break;
 		default:
+			*behaviour = B43_LED_OFF;
 			B43_WARN_ON(1);
 			return;
 		}