wifi: iwlwifi: mvm: d3: fix WoWLAN command version lookup
authorYedidya Benshimol <yedidya.ben.shimol@intel.com>
Fri, 10 May 2024 14:06:29 +0000 (17:06 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 29 May 2024 13:30:09 +0000 (15:30 +0200)
commitb7ffca99313d856f7d1cc89038d9061b128e8e97
tree113ca703c5d1274ab345e17a2b87337c5bf7e925
parent788e4c75f831d06fcfbbec1d455fac429521e607
wifi: iwlwifi: mvm: d3: fix WoWLAN command version lookup

After moving from commands to notificaitons in the d3 resume flow,
removing the WOWLAN_GET_STATUSES and REPLY_OFFLOADS_QUERY_CMD causes
the return of the default value when looking up their version.
Returning zero here results in the driver sending the not supported
NON_QOS_TX_COUNTER_CMD.

Signed-off-by: Yedidya Benshimol <yedidya.ben.shimol@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240510170500.8cabfd580614.If3a0db9851f56041f8f5360959354abd5379224a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c