Have internal bridged packets belong to the BSS node

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3259 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mentor 2008-01-26 02:30:35 +00:00
parent e479155497
commit d05f18eef2

View File

@ -1131,9 +1131,9 @@ ieee80211_deliver_data(struct ieee80211_node *ni, struct sk_buff *skb)
struct sk_buff *skb1 = NULL; struct sk_buff *skb1 = NULL;
if (ETHER_IS_MULTICAST(eh->ether_dhost)) { if (ETHER_IS_MULTICAST(eh->ether_dhost)) {
/* Create a SKB for the BSS to send out. */
skb1 = skb_copy(skb, GFP_ATOMIC); skb1 = skb_copy(skb, GFP_ATOMIC);
/* We duplicate the reference after skb_copy */ SKB_CB(skb1)->ni = ieee80211_ref_node(vap->iv_bss);
ieee80211_skb_copy_noderef(skb, skb1);
} }
else { else {
/* /*