Changeset 3767

Show
Ignore:
Timestamp:
07/10/08 16:50:56 (4 years ago)
Author:
proski
Message:

Wireless extensions changes are for 2.6.27, not 2.6.26

Don't use compatibility code if IW_REQUEST_FLAG_COMPAT is defined, which
means that the kernel identifies itself as 2.6.26, but acts like 2.6.27
would.

Remove unneeded use of ellipsis in iwe_stream_lcp_len() definition.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • madwifi/trunk/net80211/ieee80211_wireless.c

    r3760 r3767  
    17771777}; 
    17781778 
    1779 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26
     1779#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27) && !defined(IW_REQUEST_FLAG_COMPAT
    17801780#define iwe_stream_add_event(a, b, c, d, e)     iwe_stream_add_event(b, c, d, e) 
    17811781#define iwe_stream_add_point(a, b, c, d, e)     iwe_stream_add_point(b, c, d, e) 
    17821782#define iwe_stream_add_value(a, b, c, d, e, f)  \ 
    17831783        iwe_stream_add_value(b, c, d, e, f) 
    1784 #define iwe_stream_lcp_len(...)                       IW_EV_LCP_LEN 
     1784#define iwe_stream_lcp_len(a)                 IW_EV_LCP_LEN 
    17851785#endif 
    17861786static int