I noticed something that may be a bug in wlan.c, in
wlan_wol_connection_monitor():
memset(nullf, 0, sizeof(nullf));
Should be:
memset(nullf, 0, sizeof(*nullf));
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
if (!fw.wlan.fw_desc_available)
return;
if (!fw.wlan.fw_desc_available)
return;
- memset(nullf, 0, sizeof(nullf));
+ memset(nullf, 0, sizeof(*nullf));
nullf->s.len = sizeof(struct carl9170_tx_superdesc) +
sizeof(struct ar9170_tx_hwdesc) +
nullf->s.len = sizeof(struct carl9170_tx_superdesc) +
sizeof(struct ar9170_tx_hwdesc) +