wifi: iwlwifi: change link id in time event to s8
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Tue, 23 Jan 2024 18:08:16 +0000 (20:08 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Jan 2024 08:48:53 +0000 (09:48 +0100)
commit6c8ce23854b66db94d88e0957e531cb074806c16
treeccfd90452c5e4fd62beec712648de494f4c71de1
parentdfdfe4be183b27b278d78225d48b98b3c1ca6285
wifi: iwlwifi: change link id in time event to s8

Link ID in time event data is -1 when the time event is cleared.
Change the type of the link ID in the time event data structure
and in the affected function from unsigned to signed.

Fixes: 135065837310 ("wifi: iwlwifi: support link_id in SESSION_PROTECTION cmd")
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://msgid.link/20240123200528.50d4941f946c.Iea990b118c69bc3e1eb61c1d134c9d470b3a17ac@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c