On Fri, 2009-10-23 at 09:30 -0700, Jouni Malinen wrote: > > diff -urN compat-wireless-2009-10-21-before_seqnum_fix/net/mac80211/tx.c > > compat-wireless-2009-10-21/net/mac80211/tx.c > > @@ -1445,7 +1445,7 @@ > > 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); > > sdata = tmp_sdata; > > This does indeed look like a typo. Though, I'm not sure how this would > have caused a regression between compat-wireless-2009-06-02 and > compat-wireless-2.6.32-rc1. The incorrect compare_ether_addr() use seems > to be there in the original commit that added this code > (25d834e16294c8dfd923dae6bdb8a055391a99a5 from September 12, 2008).. > > Johannes: Any idea why the sequence number allocation for injected > frames from hostapd would have changed between 2009-06-02 and now? This > bug seems to be too old to explain that ;-). Indeed, I have no idea though. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part