summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-02-14 10:03:13 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-02-24 21:21:53 +0100
commitc42c65c1d5863bca54e45ea25ecb24a3def29f59 (patch)
tree2dc9085ebb56ac6266fe70406b73ba7fd4c97e81 /block
parentMerge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlw... (diff)
downloadlinux-c42c65c1d5863bca54e45ea25ecb24a3def29f59.tar.xz
linux-c42c65c1d5863bca54e45ea25ecb24a3def29f59.zip
mwifiex: memory corruption in mwifiex_tdls_add_vht_capab()
There is a typo here because the names are confusingly similar. The intent was sizeof(struct ieee80211_vht_cap) (size 12) but sizeof(struct ieee80211_ht_cap) (size 32) was used. Anway, it's cleaner to just specify the variable instead of the type. Fixes: 5f6d5983394f ('mwifiex: add VHT support for TDLS') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions