diff options
Diffstat (limited to 'drivers/net/wireless/wl3501_cs.c')
-rw-r--r-- | drivers/net/wireless/wl3501_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index cfde68cff94c..2690f291e3f7 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -1893,7 +1893,7 @@ static const iw_handler wl3501_handler[] = { | |||
1893 | }; | 1893 | }; |
1894 | 1894 | ||
1895 | static const struct iw_handler_def wl3501_handler_def = { | 1895 | static const struct iw_handler_def wl3501_handler_def = { |
1896 | .num_standard = sizeof(wl3501_handler) / sizeof(iw_handler), | 1896 | .num_standard = ARRAY_SIZE(wl3501_handler), |
1897 | .standard = (iw_handler *)wl3501_handler, | 1897 | .standard = (iw_handler *)wl3501_handler, |
1898 | .get_wireless_stats = wl3501_get_wireless_stats, | 1898 | .get_wireless_stats = wl3501_get_wireless_stats, |
1899 | }; | 1899 | }; |