aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rt2870/sta_ioctl.c.patch
blob: 8672b147a761502696099ffebce80d5a7f79bad1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- sta_ioctl.c	2008-09-19 14:37:52.000000000 +0800
+++ sta_ioctl.c.fc9	2008-09-19 14:38:20.000000000 +0800
@@ -49,15 +49,9 @@

 #define GROUP_KEY_NO                4

-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
 #define IWE_STREAM_ADD_EVENT(_A, _B, _C, _D, _E)		iwe_stream_add_event(_A, _B, _C, _D, _E)
 #define IWE_STREAM_ADD_POINT(_A, _B, _C, _D, _E)		iwe_stream_add_point(_A, _B, _C, _D, _E)
 #define IWE_STREAM_ADD_VALUE(_A, _B, _C, _D, _E, _F)	iwe_stream_add_value(_A, _B, _C, _D, _E, _F)
-#else
-#define IWE_STREAM_ADD_EVENT(_A, _B, _C, _D, _E)		iwe_stream_add_event(_B, _C, _D, _E)
-#define IWE_STREAM_ADD_POINT(_A, _B, _C, _D, _E)		iwe_stream_add_point(_B, _C, _D, _E)
-#define IWE_STREAM_ADD_VALUE(_A, _B, _C, _D, _E, _F)	iwe_stream_add_value(_B, _C, _D, _E, _F)
-#endif

 extern UCHAR    CipherWpa2Template[];
 extern UCHAR    CipherWpaPskTkip[];