]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Check nla_nest_start() result for NL80211_ATTR_HE_OBSS_PD
authorJouni Malinen <jouni@codeaurora.org>
Mon, 17 Feb 2020 17:30:47 +0000 (19:30 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 17 Feb 2020 17:30:47 +0000 (19:30 +0200)
commit46cb046500e417a033001975661524f110d725eb
treeef19fed34576eda485e0bf746326577edc6fa1c6
parent0b0ee0f15e9d9084910fb6ef6edcfd8268b40f09
nl80211: Check nla_nest_start() result for NL80211_ATTR_HE_OBSS_PD

nla_nest_start() might fail, so need to check its return value similarly
to all the other callers.

Fixes: a84bf443887d ("HE: Send the AP's OBSS PD settings to the kernel")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/drivers/driver_nl80211.c