diff options
author | 2025-03-13 00:22:26 +0200 | |
---|---|---|
committer | 2025-03-18 09:51:24 +0100 | |
commit | 8301e2636c106f28f0deca5d73fe72015db6acb2 (patch) | |
tree | 2f5c5436163a11484089486a976dd5f6395ab835 /scripts/gdb/linux/utils.py | |
parent | wifi: iwlwifi: mld: Add support for WIPHY_DEBUGFS_READ_FILE_OPS_MLD macro (diff) | |
download | wireguard-linux-8301e2636c106f28f0deca5d73fe72015db6acb2.tar.xz wireguard-linux-8301e2636c106f28f0deca5d73fe72015db6acb2.zip |
wifi: iwlwifi: mld: Ensure wiphy lock is held during debugfs read operations
The WIPHY_DEBUGFS_READ_WRITE_FILE_OPS_MLD macro is intended to call
read/write handlers with the wiphy lock held. However, the current
implementation uses the MLD_DEBUGFS_READ_WRAPPER macro, which does
not hold the wiphy lock during read operations. This fix updates
the WIPHY_DEBUGFS_READ_WRITE_FILE_OPS_MLD macro to use the
WIPHY_DEBUGFS_READ_WRAPPER_MLD macro instead, ensuring that the
wiphy lock is held during both read and write operations.
Signed-off-by: Pagadala Yesu Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250313002008.2001d2335e9d.I607a8bd12efc6d1190cef1fca44279dbdd2756ea@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions