]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix ht_capa printout in debugfs
authorBen Greear <greearb@candelatech.com>
Wed, 6 Apr 2022 17:56:59 +0000 (10:56 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Apr 2022 09:57:27 +0000 (11:57 +0200)
commitf1eee5b9a285a5870b2ac0460e493f9798e95b84
tree6982cfbca73f3e6dbafd87e0c8b426aaa9116252
parenteb040fcdcf57553bbd485eeb3e1608dcf2931d22
mac80211: fix ht_capa printout in debugfs

Don't use sizeof(pointer) when calculating scnprintf offset.

Fixes: 134c9574bc54 ("mac80211: reduce stack usage in debugfs")
Signed-off-by: Ben Greear <greearb@candelatech.com>
Link: https://lore.kernel.org/r/20220406175659.20611-1-greearb@candelatech.com
[correct the Fixes tag]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs_sta.c