diff options
Diffstat (limited to 'drivers/net/wireless/ray_cs.c')
-rw-r--r-- | drivers/net/wireless/ray_cs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 1b0e9707049a..429bca8d0b5f 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c | |||
@@ -1567,9 +1567,9 @@ static const struct iw_priv_args ray_private_args[] = { | |||
1567 | 1567 | ||
1568 | static const struct iw_handler_def ray_handler_def = | 1568 | static const struct iw_handler_def ray_handler_def = |
1569 | { | 1569 | { |
1570 | .num_standard = sizeof(ray_handler)/sizeof(iw_handler), | 1570 | .num_standard = ARRAY_SIZE(ray_handler), |
1571 | .num_private = sizeof(ray_private_handler)/sizeof(iw_handler), | 1571 | .num_private = ARRAY_SIZE(ray_private_handler), |
1572 | .num_private_args = sizeof(ray_private_args)/sizeof(struct iw_priv_args), | 1572 | .num_private_args = ARRAY_SIZE(ray_private_args), |
1573 | .standard = ray_handler, | 1573 | .standard = ray_handler, |
1574 | .private = ray_private_handler, | 1574 | .private = ray_private_handler, |
1575 | .private_args = ray_private_args, | 1575 | .private_args = ray_private_args, |