Arrived packets should not go into master interface - it leads to duplicate
packets reception.

Signed-off-by: Jiri Benc <[EMAIL PROTECTED]>

---
 net/d80211/ieee80211.c |    4 ++++
 1 files changed, 4 insertions(+)

--- dscape.orig/net/d80211/ieee80211.c
+++ dscape/net/d80211/ieee80211.c
@@ -3586,6 +3586,10 @@ void __ieee80211_rx(struct net_device *d
                                           !ieee80211_bssid_match(bssid,
                                                        sdata->dev->dev_addr))
                                        continue;
+                               if (sdata->dev == sdata->master)
+                                       /* do not receive anything via
+                                        * master device */
+                                       continue;
                                break;
                        case IEEE80211_IF_TYPE_WDS:
                                if (bssid ||
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to