• Johannes Berg's avatar
    mac80211: avoid reflecting frames back to the client · 42dca5ef
    Johannes Berg authored
    I'm not really sure exactly _why_ I've been carrying a note
    for what's probably _years_ to check that we don't do this,
    but we clearly do reflect frames back to the station itself
    if it sends such.
    
    One way or the other, it's useless since the station doesn't
    really need the AP to talk to itself, so suppress it.
    
    While at it, clarify some of the logic by removing skb->data
    references in favour of the destination address (pointer) we
    already have separately.
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    42dca5ef
rx.c 127 KB