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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c
index fc6cdd8086c1..dc3813b26440 100644
--- a/drivers/net/wireless/ipw2100.c
+++ b/drivers/net/wireless/ipw2100.c
@@ -6591,8 +6591,7 @@ static const long ipw2100_frequencies[] = {
6591 2472, 2484 6591 2472, 2484
6592}; 6592};
6593 6593
6594#define FREQ_COUNT (sizeof(ipw2100_frequencies) / \ 6594#define FREQ_COUNT ARRAY_SIZE(ipw2100_frequencies)
6595 sizeof(ipw2100_frequencies[0]))
6596 6595
6597static const long ipw2100_rates_11b[] = { 6596static const long ipw2100_rates_11b[] = {
6598 1000000, 6597 1000000,