diff options
Diffstat (limited to 'drivers/net/wireless/netwave_cs.c')
-rw-r--r-- | drivers/net/wireless/netwave_cs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/netwave_cs.c b/drivers/net/wireless/netwave_cs.c index 389fdd313c7e..d8a59afa7178 100644 --- a/drivers/net/wireless/netwave_cs.c +++ b/drivers/net/wireless/netwave_cs.c | |||
@@ -709,9 +709,9 @@ static const iw_handler netwave_private_handler[] = | |||
709 | 709 | ||
710 | static const struct iw_handler_def netwave_handler_def = | 710 | static const struct iw_handler_def netwave_handler_def = |
711 | { | 711 | { |
712 | .num_standard = sizeof(netwave_handler)/sizeof(iw_handler), | 712 | .num_standard = ARRAY_SIZE(netwave_handler), |
713 | .num_private = sizeof(netwave_private_handler)/sizeof(iw_handler), | 713 | .num_private = ARRAY_SIZE(netwave_private_handler), |
714 | .num_private_args = sizeof(netwave_private_args)/sizeof(struct iw_priv_args), | 714 | .num_private_args = ARRAY_SIZE(netwave_private_args), |
715 | .standard = (iw_handler *) netwave_handler, | 715 | .standard = (iw_handler *) netwave_handler, |
716 | .private = (iw_handler *) netwave_private_handler, | 716 | .private = (iw_handler *) netwave_private_handler, |
717 | .private_args = (struct iw_priv_args *) netwave_private_args, | 717 | .private_args = (struct iw_priv_args *) netwave_private_args, |