mirror of
https://github.com/proski/madwifi
synced 2024-11-29 09:43:14 +03:00
Put the zeroing of the CB back in. It was supposed to move up to the top and not dissapear. In another change I will commit, some of the logic depends upon zeroing earlier before assigning some values to cb
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2900 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
61e57408ea
commit
640f86f562
@ -206,6 +206,8 @@ ieee80211_hardstart(struct sk_buff *skb, struct net_device *dev)
|
||||
struct ieee80211_node *ni = NULL;
|
||||
struct ether_header *eh;
|
||||
|
||||
memset(SKB_CB(skb), 0, sizeof(struct ieee80211_cb));
|
||||
|
||||
/* NB: parent must be up and running */
|
||||
if ((parent->flags & (IFF_RUNNING|IFF_UP)) != (IFF_RUNNING|IFF_UP))
|
||||
goto bad;
|
||||
@ -221,6 +223,7 @@ ieee80211_hardstart(struct sk_buff *skb, struct net_device *dev)
|
||||
#endif
|
||||
goto bad;
|
||||
}
|
||||
|
||||
if (vap->iv_opmode == IEEE80211_M_MONITOR) {
|
||||
ieee80211_monitor_encap(vap, skb);
|
||||
ieee80211_parent_queue_xmit(skb);
|
||||
|
Loading…
Reference in New Issue
Block a user