Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98549
b: refs/heads/master
c: 7b3abfc
h: refs/heads/master
i:
  98547: 5edfe00
v: v3
  • Loading branch information
Michael Buesch authored and John W. Linville committed Jun 25, 2008
1 parent e7cd1ff commit 8d4522f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 664f200610a3c9641ff58fc91b986b804cb1cc2d
refs/heads/master: 7b3abfc87ec13a81b255012b6e1bd4caeeb05aec
3 changes: 3 additions & 0 deletions trunk/drivers/net/wireless/b43/leds.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ static void b43_led_brightness_set(struct led_classdev *led_dev,
struct b43_wldev *dev = led->dev;
bool radio_enabled;

if (unlikely(b43_status(dev) < B43_STAT_INITIALIZED))
return;

/* Checking the radio-enabled status here is slightly racy,
* but we want to avoid the locking overhead and we don't care
* whether the LED has the wrong state for a second. */
Expand Down

0 comments on commit 8d4522f

Please sign in to comment.