Put the zeroing of the CB back in. It was supposed to move up to the top and not...
authormtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 21 Nov 2007 18:25:00 +0000 (18:25 +0000)
committermtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 21 Nov 2007 18:25:00 +0000 (18:25 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2900 0192ed92-7a03-0410-a25b-9323aeb14dbd

net80211/ieee80211_output.c

index a4c3bda5e606f778644b3c15a47924ad87b6144f..8d88a0b91455055891edac13155f29fe269af637 100644 (file)
@@ -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);