Changeset 103 for trunk

Show
Ignore:
Timestamp:
02/27/07 18:56:01 (23 months ago)
Author:
jwright
Message:

Added initialization function for packets

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/tx80211.c

    r102 r103  
    420420} 
    421421 
     422void tx80211_initpacket(struct tx80211_packet *in_packet) { 
     423        memset(in_packet, 0, sizeof(struct tx80211_packet)); 
     424} 
  • trunk/tx80211.h

    r102 r103  
    363363int tx80211_gettxrate(struct tx80211_packet *in_packet); 
    364364 
     365/* initialize the packet */ 
     366void tx80211_initpacket(struct tx80211_packet *in_packet); 
    365367 
    366368/* Transmit a frame */