3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-20 19:12:33 +01:00

monitor: Don't skip genl control Done,Error messages

This commit is contained in:
Denis Kenzior 2024-08-11 22:42:54 -05:00
parent 5118f08d79
commit 02ec70e290

View File

@ -8312,7 +8312,8 @@ void nlmon_print_genl(struct nlmon *nlmon, const struct timeval *tv,
continue;
}
if (!nlmon->read && nlmsg->nlmsg_type != nlmon->id)
if (nlmsg->nlmsg_type >= NLMSG_MIN_TYPE && !nlmon->read &&
nlmsg->nlmsg_type != nlmon->id)
continue;
nlmon_message(nlmon, tv, nlmsg);