carl9170 firmware: correct use of memset
authorIgnacy Gawedzki <i@lri.fr>
Thu, 14 Jul 2011 13:03:11 +0000 (15:03 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Thu, 14 Jul 2011 13:03:11 +0000 (15:03 +0200)
commit5a79392acf19327b34c5c9ff70208a58c07508c1
treedd92eb10b2b9d285a6391e54e3e124c48704c6a7
parent4fc166c3e49e614efcfc4aeac1d84bc324730033
carl9170 firmware: correct use of memset

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>
carlfw/src/wlan.c