diff options
author | Bing Zhao <bzhao@marvell.com> | 2011-07-13 21:38:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-08 14:26:28 -0400 |
commit | 67a50035b3f9335b9e5800c32149173e797b9cc0 (patch) | |
tree | 2a01afd36d82e27e51955eb1b188c2e34a1baca6 /drivers/net/wireless/mwifiex/ioctl.h | |
parent | 7c966a6de5be35737038cd71be7a3e36470aa52f (diff) |
mwifiex: remove wireless.h inclusion and fix resulting bugs
replace IW_MAX_AP & IW_CUSTOM_MAX with local definitions
and remove usage of struct iw_statistics.
Cc: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/ioctl.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/ioctl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/ioctl.h b/drivers/net/wireless/mwifiex/ioctl.h index 4c35aae658fe..bd9e074a1c80 100644 --- a/drivers/net/wireless/mwifiex/ioctl.h +++ b/drivers/net/wireless/mwifiex/ioctl.h | |||
@@ -20,7 +20,6 @@ | |||
20 | #ifndef _MWIFIEX_IOCTL_H_ | 20 | #ifndef _MWIFIEX_IOCTL_H_ |
21 | #define _MWIFIEX_IOCTL_H_ | 21 | #define _MWIFIEX_IOCTL_H_ |
22 | 22 | ||
23 | #include <linux/wireless.h> | ||
24 | #include <net/mac80211.h> | 23 | #include <net/mac80211.h> |
25 | 24 | ||
26 | enum { | 25 | enum { |
@@ -308,10 +307,12 @@ struct mwifiex_ds_read_eeprom { | |||
308 | u8 value[MAX_EEPROM_DATA]; | 307 | u8 value[MAX_EEPROM_DATA]; |
309 | }; | 308 | }; |
310 | 309 | ||
310 | #define IEEE_MAX_IE_SIZE 256 | ||
311 | |||
311 | struct mwifiex_ds_misc_gen_ie { | 312 | struct mwifiex_ds_misc_gen_ie { |
312 | u32 type; | 313 | u32 type; |
313 | u32 len; | 314 | u32 len; |
314 | u8 ie_data[IW_CUSTOM_MAX]; | 315 | u8 ie_data[IEEE_MAX_IE_SIZE]; |
315 | }; | 316 | }; |
316 | 317 | ||
317 | struct mwifiex_ds_misc_cmd { | 318 | struct mwifiex_ds_misc_cmd { |