diff options
author | kevlo <kevlo@FreeBSD.org> | 2011-07-07 15:41:40 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2011-07-07 15:41:40 +0000 |
commit | 6fa05979e3bc946cca70f63675f3bc41e1c29fd4 (patch) | |
tree | cd031a3f428e0efe15db3b71ea063c4da50fd137 /sys/net80211/ieee80211_power.c | |
parent | 57066eeffc3809b850ac3e912cf5303585f7180e (diff) | |
download | FreeBSD-src-6fa05979e3bc946cca70f63675f3bc41e1c29fd4.zip FreeBSD-src-6fa05979e3bc946cca70f63675f3bc41e1c29fd4.tar.gz |
Fix memset sizeofs
Reviewed by: bschmidt
Diffstat (limited to 'sys/net80211/ieee80211_power.c')
-rw-r--r-- | sys/net80211/ieee80211_power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_power.c b/sys/net80211/ieee80211_power.c index aad82ba..201eea0 100644 --- a/sys/net80211/ieee80211_power.c +++ b/sys/net80211/ieee80211_power.c @@ -102,7 +102,7 @@ ieee80211_power_vdetach(struct ieee80211vap *vap) void ieee80211_psq_init(struct ieee80211_psq *psq, const char *name) { - memset(psq, 0, sizeof(psq)); + memset(psq, 0, sizeof(*psq)); psq->psq_maxlen = IEEE80211_PS_MAX_QUEUE; IEEE80211_PSQ_INIT(psq, name); /* OS-dependent setup */ } |