From: Rolf Eike Beer Date: Thu, 19 Dec 2024 10:22:25 +0000 (+0100) Subject: wifi: iwlwifi: fix documentation about initial values in station table X-Git-Tag: microblaze-v6.16~163^2~20^2~130 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=efbb0fed0250be2bd79dfc01b727beee3c0fc42d;p=linux-2.6-microblaze.git wifi: iwlwifi: fix documentation about initial values in station table The inverse value is stored in the table, make the documentation match the code. Signed-off-by: Rolf Eike Beer Acked-by: Miri Korenblit Link: https://patch.msgid.link/2008554.usQuhbGJ8B@devpool47.emlix.com Signed-off-by: Johannes Berg --- diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/sta.h b/drivers/net/wireless/intel/iwlwifi/mvm/sta.h index 4a3799ae7c18..dbc531c63f0f 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/sta.h +++ b/drivers/net/wireless/intel/iwlwifi/mvm/sta.h @@ -133,7 +133,7 @@ struct iwl_mvm_vif; * and no TID data as this is also not needed. * One thing to note, is that these stations have an ID in the fw, but not * in mac80211. In order to "reserve" them a sta_id in %fw_id_to_mac_id - * we fill ERR_PTR(EINVAL) in this mapping and all other dereferencing of + * we fill ERR_PTR(-EINVAL) in this mapping and all other dereferencing of * pointers from this mapping need to check that the value is not error * or NULL. *