diff options
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_80211_tx.c')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_80211_tx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/hostap/hostap_80211_tx.c b/drivers/net/wireless/hostap/hostap_80211_tx.c index 8bde77689469..055e11d353ca 100644 --- a/drivers/net/wireless/hostap/hostap_80211_tx.c +++ b/drivers/net/wireless/hostap/hostap_80211_tx.c | |||
@@ -174,8 +174,8 @@ netdev_tx_t hostap_data_start_xmit(struct sk_buff *skb, | |||
174 | /* send broadcast and multicast frames to broadcast RA, if | 174 | /* send broadcast and multicast frames to broadcast RA, if |
175 | * configured; otherwise, use unicast RA of the WDS link */ | 175 | * configured; otherwise, use unicast RA of the WDS link */ |
176 | if ((local->wds_type & HOSTAP_WDS_BROADCAST_RA) && | 176 | if ((local->wds_type & HOSTAP_WDS_BROADCAST_RA) && |
177 | skb->data[0] & 0x01) | 177 | is_multicast_ether_addr(skb->data)) |
178 | memset(&hdr.addr1, 0xff, ETH_ALEN); | 178 | eth_broadcast_addr(hdr.addr1); |
179 | else if (iface->type == HOSTAP_INTERFACE_WDS) | 179 | else if (iface->type == HOSTAP_INTERFACE_WDS) |
180 | memcpy(&hdr.addr1, iface->u.wds.remote_addr, | 180 | memcpy(&hdr.addr1, iface->u.wds.remote_addr, |
181 | ETH_ALEN); | 181 | ETH_ALEN); |