wifi: iwlwifi: use array as array argument
authorJohannes Berg <johannes.berg@intel.com>
Wed, 14 Jun 2023 09:41:29 +0000 (12:41 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jun 2023 10:05:26 +0000 (12:05 +0200)
commit77e1f3f369e5f89235d539059bf6c7fa1645f350
tree68d1eea45ad9bdc801243e52c47f055b9baacedd
parent33acbe6aa459feb8c765944e2e78a7b0338108e2
wifi: iwlwifi: use array as array argument

When calling iwl_mvm_set_fw_qos_params() we explicitly pass
a pointer to the first array element, but the function will
treat it as an array. Simplify and clarify the code and pass
the array instead.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230614123446.6fb4a9743b1b.I801007d207f6539a9e0996366ec593e2038b1f90@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/link.c
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c