aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/hostap/hostap_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/hostap/hostap_common.h b/drivers/net/wireless/hostap/hostap_common.h
index 01624005d808..b31e6a05f23c 100644
--- a/drivers/net/wireless/hostap/hostap_common.h
+++ b/drivers/net/wireless/hostap/hostap_common.h
@@ -368,9 +368,9 @@ enum {
368 368
369#define PRISM2_HOSTAPD_MAX_BUF_SIZE 1024 369#define PRISM2_HOSTAPD_MAX_BUF_SIZE 1024
370#define PRISM2_HOSTAPD_RID_HDR_LEN \ 370#define PRISM2_HOSTAPD_RID_HDR_LEN \
371((int) (&((struct prism2_hostapd_param *) 0)->u.rid.data)) 371offsetof(struct prism2_hostapd_param, u.rid.data)
372#define PRISM2_HOSTAPD_GENERIC_ELEMENT_HDR_LEN \ 372#define PRISM2_HOSTAPD_GENERIC_ELEMENT_HDR_LEN \
373((int) (&((struct prism2_hostapd_param *) 0)->u.generic_elem.data)) 373offsetof(struct prism2_hostapd_param, u.generic_elem.data)
374 374
375/* Maximum length for algorithm names (-1 for nul termination) used in ioctl() 375/* Maximum length for algorithm names (-1 for nul termination) used in ioctl()
376 */ 376 */