diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/tx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 4278e545638f..94de5033f0b6 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -1343,6 +1343,8 @@ int ieee80211_master_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1343 | list) { | 1343 | list) { |
1344 | if (!netif_running(sdata->dev)) | 1344 | if (!netif_running(sdata->dev)) |
1345 | continue; | 1345 | continue; |
1346 | if (sdata->vif.type != NL80211_IFTYPE_AP) | ||
1347 | continue; | ||
1346 | if (compare_ether_addr(sdata->dev->dev_addr, | 1348 | if (compare_ether_addr(sdata->dev->dev_addr, |
1347 | hdr->addr2)) { | 1349 | hdr->addr2)) { |
1348 | dev_hold(sdata->dev); | 1350 | dev_hold(sdata->dev); |