From: Veerendranath Jakkam Date: Fri, 8 Jul 2022 16:55:44 +0000 (+0530) Subject: wifi: cfg80211: fix a comment in cfg80211_mlme_mgmt_tx() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c528d7a2750a27174a30dffe42600f16c15bdb87;p=linux.git wifi: cfg80211: fix a comment in cfg80211_mlme_mgmt_tx() 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 Link: https://lore.kernel.org/r/20220708165545.2072999-1-quic_vjakkam@quicinc.com Signed-off-by: Johannes Berg --- diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index 2bb4da97b66ae..14584488de672 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c @@ -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); }