diff options
Diffstat (limited to 'net/mac80211/ieee80211.c')
-rw-r--r-- | net/mac80211/ieee80211.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c index de894b61a23c..cb09931af86a 100644 --- a/net/mac80211/ieee80211.c +++ b/net/mac80211/ieee80211.c | |||
@@ -804,6 +804,9 @@ int ieee80211_if_update_wds(struct net_device *dev, u8 *remote_addr) | |||
804 | sta = sta_info_add(local, dev, remote_addr, GFP_KERNEL); | 804 | sta = sta_info_add(local, dev, remote_addr, GFP_KERNEL); |
805 | if (!sta) | 805 | if (!sta) |
806 | return -ENOMEM; | 806 | return -ENOMEM; |
807 | |||
808 | sta->flags |= WLAN_STA_AUTHORIZED; | ||
809 | |||
807 | sta_info_put(sta); | 810 | sta_info_put(sta); |
808 | 811 | ||
809 | /* Remove STA entry for the old peer */ | 812 | /* Remove STA entry for the old peer */ |