diff options
-rw-r--r-- | drivers/net/wireless/hostap/hostap_ap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/hostap/hostap_ap.c b/drivers/net/wireless/hostap/hostap_ap.c index 5b3abd54d0e..d169529b90b 100644 --- a/drivers/net/wireless/hostap/hostap_ap.c +++ b/drivers/net/wireless/hostap/hostap_ap.c | |||
@@ -2704,6 +2704,8 @@ ap_tx_ret hostap_handle_sta_tx(local_info_t *local, struct hostap_tx_data *tx) | |||
2704 | 2704 | ||
2705 | if (hdr->addr1[0] & 0x01) { | 2705 | if (hdr->addr1[0] & 0x01) { |
2706 | /* broadcast/multicast frame - no AP related processing */ | 2706 | /* broadcast/multicast frame - no AP related processing */ |
2707 | if (local->ap->num_sta <= 0) | ||
2708 | ret = AP_TX_DROP; | ||
2707 | goto out; | 2709 | goto out; |
2708 | } | 2710 | } |
2709 | 2711 | ||