wifi: iwlwifi: fw: Fix debugfs command sending
authorMukesh Sisodiya <mukesh.sisodiya@intel.com>
Wed, 4 Oct 2023 09:36:32 +0000 (12:36 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Oct 2023 10:21:48 +0000 (12:21 +0200)
commit048449fc666d736a1a17d950fde0b5c5c8fd10cc
tree2e50692040448c32dc22b3f51357484f7cac3825
parent3f5e8522f8a6075882ab1ba49528dbf6cee79bb1
wifi: iwlwifi: fw: Fix debugfs command sending

During debugfs command handling transport function is used directly,
this bypasses the locking used by runtime operation function
and leads to a kernel warning when two commands are
sent in parallel.

Fix it by using runtime operations function when sending
debugfs command.

Signed-off-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231004123422.4f80ac90658a.Ia1dfa1195c919f3002fe08db3eefbd2bfa921bbf@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/debugfs.c