Browse Source

[PATCH] zd1211rw: fix build-break caused by association race fix

The break was caused by 7c28ad2d83ecc637237fe684659a6afbce0bb2a8.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
John W. Linville 18 years ago
parent
commit
41072a1be5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/wireless/zd1211rw/zd_mac.c

+ 1 - 1
drivers/net/wireless/zd1211rw/zd_mac.c

@@ -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,