mirror of
https://github.com/proski/madwifi
synced 2024-11-25 07:49:43 +03:00
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:
parent
e479155497
commit
d05f18eef2
@ -1131,9 +1131,9 @@ ieee80211_deliver_data(struct ieee80211_node *ni, struct sk_buff *skb)
|
||||
struct sk_buff *skb1 = NULL;
|
||||
|
||||
if (ETHER_IS_MULTICAST(eh->ether_dhost)) {
|
||||
/* Create a SKB for the BSS to send out. */
|
||||
skb1 = skb_copy(skb, GFP_ATOMIC);
|
||||
/* We duplicate the reference after skb_copy */
|
||||
ieee80211_skb_copy_noderef(skb, skb1);
|
||||
SKB_CB(skb1)->ni = ieee80211_ref_node(vap->iv_bss);
|
||||
}
|
||||
else {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user