wifi: iwlwifi: mvm: Reset rate index if rate is wrong
authorMukesh Sisodiya <mukesh.sisodiya@intel.com>
Thu, 26 Jan 2023 22:28:18 +0000 (00:28 +0200)
committerGregory Greenman <gregory.greenman@intel.com>
Mon, 30 Jan 2023 11:00:09 +0000 (13:00 +0200)
commit9387e3596d42fb9dc5c299aa4226862de858788d
tree7c43d2fb3d96582f6674652d85ce37c0aa7a97cd
parent3f7a9d577d47b83b8911f82e37fdd626c91d95cc
wifi: iwlwifi: mvm: Reset rate index if rate is wrong

Setting rate index should not depend on net_ratelimit().
Fix that for the case of invalid rate.

Signed-off-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Link: https://lore.kernel.org/r/20230127002430.8eede67758bb.I585ab389e27d61153540b7cb5ebed66e21f765f0@changeid
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c