Changeset 87

Show
Ignore:
Timestamp:
11/01/06 19:03:47 (2 years ago)
Author:
dragorn
Message:

Added funcmode wrapper for madwifi-ng

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/mwnginject.c

    r86 r87  
    3333        in_tx->setchan_callthrough = &wtinj_setchannel; 
    3434        in_tx->txpacket_callthrough = &madwifing_send; 
    35         in_tx->setfuncmode_callthrough = NULL; 
     35        in_tx->setfuncmode_callthrough = &madwifing_setfuncmode; 
    3636 
    3737        return 0; 
     
    9797} 
    9898 
     99int madwifing_setfuncmode(struct tx80211 *wtinj, int funcmode) 
     100{ 
     101        /* No functional mode setting on madwifi-ng, always return ok */ 
     102        return 0; 
     103} 
     104 
    99105int madwifing_send(struct tx80211 *in_tx, struct tx80211_packet *in_pkt) 
    100106{ 
  • trunk/mwnginject.h

    r74 r87  
    100100int madwifing_devtype(struct tx80211 *in_tx, char *devtype); 
    101101int madwifing_send(struct tx80211 *in_tx, struct tx80211_packet *in_pkt); 
     102int madwifing_setfuncmode(struct tx80211 *in_tx, int funcmode); 
    102103 
    103104#endif