diff options
-rw-r--r-- | net/mac80211/ieee80211_sta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c index 0f2fc9c4703a..9e30333aa81e 100644 --- a/net/mac80211/ieee80211_sta.c +++ b/net/mac80211/ieee80211_sta.c | |||
@@ -542,13 +542,13 @@ static void ieee80211_set_associated(struct net_device *dev, | |||
542 | 542 | ||
543 | memset(wrqu.ap_addr.sa_data, 0, ETH_ALEN); | 543 | memset(wrqu.ap_addr.sa_data, 0, ETH_ALEN); |
544 | } | 544 | } |
545 | wrqu.ap_addr.sa_family = ARPHRD_ETHER; | ||
546 | wireless_send_event(dev, SIOCGIWAP, &wrqu, NULL); | ||
547 | ifsta->last_probe = jiffies; | 545 | ifsta->last_probe = jiffies; |
548 | ieee80211_led_assoc(local, assoc); | 546 | ieee80211_led_assoc(local, assoc); |
549 | 547 | ||
550 | sdata->bss_conf.assoc = assoc; | 548 | sdata->bss_conf.assoc = assoc; |
551 | ieee80211_bss_info_change_notify(sdata, changed); | 549 | ieee80211_bss_info_change_notify(sdata, changed); |
550 | wrqu.ap_addr.sa_family = ARPHRD_ETHER; | ||
551 | wireless_send_event(dev, SIOCGIWAP, &wrqu, NULL); | ||
552 | } | 552 | } |
553 | 553 | ||
554 | static void ieee80211_set_disassoc(struct net_device *dev, | 554 | static void ieee80211_set_disassoc(struct net_device *dev, |