[PATCH] zd1211rw: fix build-break caused by association race fix
The break was caused by 7c28ad2d83
.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
@@ -1099,7 +1099,7 @@ static void link_led_handler(void *p)
|
|||||||
int r;
|
int r;
|
||||||
|
|
||||||
spin_lock_irq(&mac->lock);
|
spin_lock_irq(&mac->lock);
|
||||||
is_associated = sm->associated != 0;
|
is_associated = sm->associnfo.associated != 0;
|
||||||
spin_unlock_irq(&mac->lock);
|
spin_unlock_irq(&mac->lock);
|
||||||
|
|
||||||
r = zd_chip_control_leds(chip,
|
r = zd_chip_control_leds(chip,
|
||||||
|
Reference in New Issue
Block a user