diff mbox

mac80211: fix for incorrect sequence number on hostapd injected frames

Message ID 133e8d7e0910241155x4496b156p3c5d03450a71936a@mail.gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Björn Smedman Oct. 24, 2009, 6:55 p.m. UTC
None
diff mbox

Patch

diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index db4bda6..eaa4118 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1445,7 +1445,7 @@  static void ieee80211_xmit(struct
ieee80211_sub_if_data *sdata,
                                if (tmp_sdata->vif.type != NL80211_IFTYPE_AP)
                                        continue;
                                if (compare_ether_addr(tmp_sdata->dev->dev_addr,
-                                                      hdr->addr2)) {
+                                                      hdr->addr2) == 0) {
                                        dev_hold(tmp_sdata->dev);
                                        dev_put(sdata->dev);