diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-05-14 11:02:01 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-05-14 11:02:01 +0000 |
commit | 29cd45f752dc3097d1f8ee0dee828070964b1ee5 (patch) | |
tree | 62ab9f9dcec97f793b5fb8228aaee5cb5d4e7e39 /package | |
parent | c27351f2fab86e52286da3bb2e965a9bbb9909d6 (diff) | |
download | upstream-29cd45f752dc3097d1f8ee0dee828070964b1ee5.tar.gz upstream-29cd45f752dc3097d1f8ee0dee828070964b1ee5.tar.bz2 upstream-29cd45f752dc3097d1f8ee0dee828070964b1ee5.zip |
mac80211: fix AP mode action frame handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36633
Diffstat (limited to 'package')
-rw-r--r-- | package/mac80211/patches/300-pending_work.patch | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch index fd7417b44b..71cc860bdb 100644 --- a/package/mac80211/patches/300-pending_work.patch +++ b/package/mac80211/patches/300-pending_work.patch @@ -3105,7 +3105,17 @@ break; case cpu_to_le16(IEEE80211_STYPE_ASSOC_RESP): case cpu_to_le16(IEEE80211_STYPE_REASSOC_RESP): -@@ -3031,10 +3060,16 @@ static int prepare_for_handlers(struct i +@@ -3023,6 +3052,9 @@ static int prepare_for_handlers(struct i + * and location updates. Note that mac80211 + * itself never looks at these frames. + */ ++ if (!multicast && ++ !ether_addr_equal(sdata->vif.addr, hdr->addr1)) ++ return 0; + if (ieee80211_is_public_action(hdr, skb->len)) + return 1; + if (!ieee80211_is_beacon(hdr->frame_control)) +@@ -3031,10 +3063,16 @@ static int prepare_for_handlers(struct i } break; case NL80211_IFTYPE_WDS: |