zero-struct-iwr

Gbp-Pq: Name zero-struct-iwr.diff
This commit is contained in:
Ubuntu Core Developers 2022-05-14 03:18:38 +08:00 committed by openKylinBot
parent 0edcde721a
commit afd71b028e
1 changed files with 1 additions and 0 deletions

View File

@ -676,6 +676,7 @@ iw_get_basic_config(int skfd,
{
struct iwreq wrq;
memset((char *) &wrq, 0, sizeof(struct iwreq));
memset((char *) info, 0, sizeof(struct wireless_config));
/* Get wireless name */