wifi: iwlwifi: mld: Correct comments for cleanup functions
authorPagadala Yesu Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Fri, 9 May 2025 10:44:48 +0000 (13:44 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Sat, 10 May 2025 18:42:49 +0000 (21:42 +0300)
Update comments to accurately reflect the purpose of the
iwl_mld_cleanup_link and iwl_cleanup_mld functions.

Signed-off-by: Pagadala Yesu Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Reviewed-by: Somashekhar Puttagangaiah <somashekhar.puttagangaiah@intel.com>
Link: https://patch.msgid.link/20250509104454.2582160-10-miriam.rachel.korenblit@intel.com
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
drivers/net/wireless/intel/iwlwifi/mld/link.h
drivers/net/wireless/intel/iwlwifi/mld/mld.h

index 40492f0974e2620c6d3d1fe19f75b90a209cfc68..86ca5b9286f887024b0b7566c392981862e0c2ab 100644 (file)
@@ -91,7 +91,7 @@ struct iwl_mld_link {
        struct iwl_probe_resp_data __rcu *probe_resp_data;
 };
 
-/* Cleanup function for struct iwl_mld_phy, will be called in restart */
+/* Cleanup function for struct iwl_mld_link, will be called in restart */
 static inline void
 iwl_mld_cleanup_link(struct iwl_mld *mld, struct iwl_mld_link *link)
 {
index 3eab1774cb89e19eaa5825db1a74b1e62f7554a9..1a2c44f44eff324468ef1037c6b2b926b1c4e04a 100644 (file)
@@ -295,7 +295,7 @@ struct iwl_mld {
        memset((void *)&(_ptr)->zeroed_on_hw_restart, 0, \
               sizeof((_ptr)->zeroed_on_hw_restart))
 
-/* Cleanup function for struct iwl_mld_vif, will be called in restart */
+/* Cleanup function for struct iwl_mld, will be called in restart */
 static inline void
 iwl_cleanup_mld(struct iwl_mld *mld)
 {