nl80211: fix nlmsg allocation in cfg80211_ft_event
Allocation size of nlmsg in cfg80211_ft_event is based on ric_ies_len and doesn't take into account ies_len. This leads to NL80211_CMD_FT_EVENT message construction failure in case ft_event contains large enough ies buffer. Add ies_len to the nlmsg allocation size. Signed-off-by:Dedy Lansky <dlansky@codeaurora.org> Signed-off-by:
Johannes Berg <johannes.berg@intel.com> Git-commit: 1039d08100e58f016a814347baadb77bf8dd21ab Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Change-Id: I224ac6113e4b15958f3b155982ff5cf84ff9ed74 CRs-Fixed: 2207276 Signed-off-by:
Wen Gong <wgong@codeaurora.org> Signed-off-by:
Zhu Jianmin <jianminz@codeaurora.org>
Loading
Please register or sign in to comment