Changeset 1971

Show
Ignore:
Timestamp:
01/16/07 21:45:44 (2 years ago)
Author:
scottr
Message:

Correctly set the skb->pkt_type field for TX feedback packets.

Signed-off-by: Brian Braunstein <madwifi.ticket.1094@bristyle.com>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/net80211/ieee80211_monitor.c

    r1970 r1971  
    347347                         * on the contents of the frame to set pkttype. 
    348348                         */ 
    349                         if (IEEE80211_IS_MULTICAST(wh->i_addr1)) { 
     349                        if (tx) 
     350                                pkttype = PACKET_OUTGOING; 
     351                        else if (IEEE80211_IS_MULTICAST(wh->i_addr1)) { 
    350352                                if (IEEE80211_ADDR_EQ(wh->i_addr1, dev->broadcast)) 
    351353                                        pkttype = PACKET_BROADCAST; 
     
    353355                                        pkttype = PACKET_MULTICAST; 
    354356                        } else 
    355                                 pkttype = (tx) ? PACKET_OUTGOING : PACKET_HOST; 
     357                                pkttype = PACKET_HOST; 
    356358                } 
    357359