wifi: cfg80211: fix a comment in cfg80211_mlme_mgmt_tx()
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Fri, 8 Jul 2022 16:55:44 +0000 (22:25 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Jul 2022 08:19:54 +0000 (10:19 +0200)
A comment in cfg80211_mlme_mgmt_tx() is describing this API used only
for transmitting action frames. Fix the comment since
cfg80211_mlme_mgmt_tx() can be used to transmit any management frame.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Link: https://lore.kernel.org/r/20220708165545.2072999-1-quic_vjakkam@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/mlme.c

index 2bb4da9..1458448 100644 (file)
@@ -755,7 +755,7 @@ int cfg80211_mlme_mgmt_tx(struct cfg80211_registered_device *rdev,
                        return -EINVAL;
        }
 
-       /* Transmit the Action frame as requested by user space */
+       /* Transmit the management frame as requested by user space */
        return rdev_mgmt_tx(rdev, wdev, params, cookie);
 }