Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
[linux-3.10.git] / net / mac80211 / tx.c
index bf73f6d..3392683 100644 (file)
@@ -1390,6 +1390,8 @@ int ieee80211_master_start_xmit(struct sk_buff *skb, struct net_device *dev)
                                                list) {
                                if (!netif_running(sdata->dev))
                                        continue;
+                               if (sdata->vif.type != NL80211_IFTYPE_AP)
+                                       continue;
                                if (compare_ether_addr(sdata->dev->dev_addr,
                                                       hdr->addr2)) {
                                        dev_hold(sdata->dev);