|
@@ -1841,7 +1841,6 @@ static int wl3501_get_encode(struct net_device *dev,
|
|
|
tocopy = min_t(u8, len_keys, wrqu->encoding.length);
|
|
|
tocopy = min_t(u8, tocopy, 100);
|
|
|
wrqu->encoding.length = tocopy;
|
|
|
- memset(extra, 0, tocopy);
|
|
|
memcpy(extra, keys, tocopy);
|
|
|
out:
|
|
|
return rc;
|