diff options
Diffstat (limited to 'drivers/net/wireless/atmel.c')
-rw-r--r-- | drivers/net/wireless/atmel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c index 1fbe027d26b6..a3e23527fe7f 100644 --- a/drivers/net/wireless/atmel.c +++ b/drivers/net/wireless/atmel.c | |||
@@ -2217,7 +2217,7 @@ static int atmel_get_range(struct net_device *dev, | |||
2217 | int k,i,j; | 2217 | int k,i,j; |
2218 | 2218 | ||
2219 | dwrq->length = sizeof(struct iw_range); | 2219 | dwrq->length = sizeof(struct iw_range); |
2220 | memset(range, 0, sizeof(range)); | 2220 | memset(range, 0, sizeof(struct iw_range)); |
2221 | range->min_nwid = 0x0000; | 2221 | range->min_nwid = 0x0000; |
2222 | range->max_nwid = 0x0000; | 2222 | range->max_nwid = 0x0000; |
2223 | range->num_channels = 0; | 2223 | range->num_channels = 0; |