diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-04-23 19:49:02 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-24 14:54:28 -0400 |
commit | 030ef8f8a59c77d44cadeded6d3a5a12557774f4 (patch) | |
tree | f9a21ddf7b127badf8619ffbc4809c74870eb3fc /net/mac80211/tx.c | |
parent | be6bcabc7919522f28c99642b8e04ef7b8e19283 (diff) | |
download | blackbird-op-linux-030ef8f8a59c77d44cadeded6d3a5a12557774f4.tar.gz blackbird-op-linux-030ef8f8a59c77d44cadeded6d3a5a12557774f4.zip |
mac80211: rename AP variable num_sta_authorized to num_mcast_sta
It is only used to test for BSS multicast receivers.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 0abbef952c14..44001c7e0e58 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -306,7 +306,7 @@ ieee80211_tx_h_check_assoc(struct ieee80211_tx_data *tx) } } else if (unlikely(tx->sdata->vif.type == NL80211_IFTYPE_AP && ieee80211_is_data(hdr->frame_control) && - !atomic_read(&tx->sdata->u.ap.num_sta_authorized))) { + !atomic_read(&tx->sdata->u.ap.num_mcast_sta))) { /* * No associated STAs - no need to send multicast * frames. |