linux-stable/net/wireless
Dan Carpenter 2e3f279e3d wifi: cfg80211: debugfs: fix return type in ht40allow_map_read()
[ Upstream commit d776763f48 ]

The return type is supposed to be ssize_t, which is signed long,
but "r" was declared as unsigned int.  This means that on 64 bit systems
we return positive values instead of negative error codes.

Fixes: 80a3511d70 ("cfg80211: add debugfs HT40 allow map")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YutvOQeJm0UjLhwU@kili
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-15 12:23:49 +02:00
..
.gitignore
ap.c cfg80211: call disconnect_wk when AP stops 2019-12-01 09:14:15 +01:00
chan.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
core.c cfg80211: fix memory leak of wiphy device name 2019-06-25 11:36:54 +08:00
core.h cfg80211: call disconnect_wk when AP stops 2019-12-01 09:14:15 +01:00
db.txt
debugfs.c wifi: cfg80211: debugfs: fix return type in ht40allow_map_read() 2022-09-15 12:23:49 +02:00
debugfs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ethtool.c cfg80211: check wiphy driver existence for drvinfo report 2020-03-11 18:02:44 +01:00
genregdb.awk
ibss.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mesh.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mlme.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nl80211.c nl80211: Update bss channel on channel switch for P2P_CLIENT 2022-03-23 09:01:34 +01:00
nl80211.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ocb.c
of.c
radiotap.c
rdev-ops.h cfg80211: Fix radar event during another phy CAC 2020-02-05 14:18:21 +00:00
reg.c cfg80211: regulatory: Fix inconsistent format argument 2020-11-18 18:27:56 +01:00
reg.h
regdb.h
scan.c cfg80211: Fix possible memory leak in function cfg80211_bss_update 2021-08-04 12:22:16 +02:00
sme.c cfg80211: remove WARN_ON() in cfg80211_sme_connect 2021-04-16 11:57:51 +02:00
sysfs.c
sysfs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
trace.c
trace.h cfg80211: Fix radar event during another phy CAC 2020-02-05 14:18:21 +00:00
util.c cfg80211: call cfg80211_stop_ap when switch from P2P_GO type 2021-11-26 11:40:41 +01:00
wext-compat.c cfg80211: initialize on-stack chandefs 2019-10-11 18:18:37 +02:00
wext-compat.h
wext-core.c wext: fix NULL-ptr-dereference with cfg80211's lack of commit() 2021-02-03 23:22:21 +01:00
wext-priv.c
wext-proc.c
wext-sme.c cfg80211: wext: avoid copying malformed SSIDs 2019-10-29 09:17:34 +01:00
wext-spy.c wireless: wext-spy: Fix out-of-bounds warning 2021-07-20 16:17:45 +02:00