aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ipw2100.c')
-rw-r--r--drivers/net/wireless/ipw2100.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c
index 12a6887cb9f1..b3c07b93afce 100644
--- a/drivers/net/wireless/ipw2100.c
+++ b/drivers/net/wireless/ipw2100.c
@@ -8277,10 +8277,9 @@ static struct iw_statistics *ipw2100_wx_wireless_stats(struct net_device *dev)
8277 8277
8278static struct iw_handler_def ipw2100_wx_handler_def = { 8278static struct iw_handler_def ipw2100_wx_handler_def = {
8279 .standard = ipw2100_wx_handlers, 8279 .standard = ipw2100_wx_handlers,
8280 .num_standard = sizeof(ipw2100_wx_handlers) / sizeof(iw_handler), 8280 .num_standard = ARRAY_SIZE(ipw2100_wx_handlers),
8281 .num_private = sizeof(ipw2100_private_handler) / sizeof(iw_handler), 8281 .num_private = ARRAY_SIZE(ipw2100_private_handler),
8282 .num_private_args = sizeof(ipw2100_private_args) / 8282 .num_private_args = ARRAY_SIZE(ipw2100_private_args),
8283 sizeof(struct iw_priv_args),
8284 .private = (iw_handler *) ipw2100_private_handler, 8283 .private = (iw_handler *) ipw2100_private_handler,
8285 .private_args = (struct iw_priv_args *)ipw2100_private_args, 8284 .private_args = (struct iw_priv_args *)ipw2100_private_args,
8286 .get_wireless_stats = ipw2100_wx_wireless_stats, 8285 .get_wireless_stats = ipw2100_wx_wireless_stats,