dect
/
libdect
Archived
13
0
Fork 0

netlink: clear ARI to make it usable for dect_ari_cmp()

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2010-11-17 16:11:09 +01:00
parent 17cc9be51e
commit 38d4c54807
1 changed files with 1 additions and 0 deletions

View File

@ -246,6 +246,7 @@ static void dect_netlink_llme_mac_info_rcv(struct dect_handle *dh, bool request,
struct dect_ari *pari = NULL, _pari;
if (nl_dect_llme_mac_info_test_pari(lmsg)) {
memset(&_pari, 0, sizeof(_pari));
dect_netlink_parse_ari(&_pari, nl_dect_llme_mac_info_get_pari(lmsg));
pari = &_pari;
}