[PATCH] zd1211rw: fix build-break caused by association race fix
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Oct 2006 17:47:40 +0000 (13:47 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Oct 2006 17:47:40 +0000 (13:47 -0400)
The break was caused by 7c28ad2d83ecc637237fe684659a6afbce0bb2a8.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_mac.c

index 2d12837052b03f35f49e1f4ae21aa99c831653f7..a7d29bddb298a7a7d41cc1edeb3753d15bae7037 100644 (file)
@@ -1099,7 +1099,7 @@ static void link_led_handler(void *p)
        int r;
 
        spin_lock_irq(&mac->lock);
-       is_associated = sm->associated != 0;
+       is_associated = sm->associnfo.associated != 0;
        spin_unlock_irq(&mac->lock);
 
        r = zd_chip_control_leds(chip,