Project : madwifi
Revision : 2900
Author : mtaylor (Michael Taylor)
Date : 2007-11-21 19:25:00 +0100 (Wed, 21 Nov 2007)
Log Message :
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
Affected Files:
* madwifi/trunk/net80211/ieee80211_output.c updated
Modified: madwifi/trunk/net80211/ieee80211_output.c
===================================================================
--- madwifi/trunk/net80211/ieee80211_output.c 2007-11-21 17:19:00 UTC (rev
2899)
+++ madwifi/trunk/net80211/ieee80211_output.c 2007-11-21 18:25:00 UTC (rev
2900)
@@ -206,6 +206,8 @@
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 @@
#endif
goto bad;
}
+
if (vap->iv_opmode == IEEE80211_M_MONITOR) {
ieee80211_monitor_encap(vap, skb);
ieee80211_parent_queue_xmit(skb);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|