cfg80211: update misleading comment
PATCH 1/1 cfg80211: update misleading comment
In cfg80211_scan_request n_channels refers to the total number of channels to scan. Update the misleading comment accordingly.
Signed-off-by Helmut Schaa <[email protected]>
---
Maybe the comment is correct and it is just me who thinks it is misleading ;) but I just stumbled over that.
include/net/cfg80211.h +1 -1
@@ -538,7 +538,7 @@ struct cfg80211_ssid {* @ssids: SSIDs to scan for (active scan only) * @n_ssids: number of SSIDs * @channels: channels to scan on. -* @n_channels: number of channels for each band +* @n_channels: total number of channels to scan * @ie: optional information element(s) to add into Probe Request or %NULL * @ie_len: length of ie in octets * @wiphy: the wiphy this was for
Quoted 8 lines · Helmut Schaa
In
cfg80211_scan_requestn_channelsrefers to the total number of channels to scan. Update the misleading comment accordingly.Signed-off-by Helmut Schaa <[email protected]>---
Maybe the comment is correct and it is just me who thinks it is misleading ;) but I just stumbled over that.
Heh, not sure what I was thinking when writing that :)
Acked-by Johannes Berg <[email protected]>
Quoted 14 lines
include/net/cfg80211.h +1
-1@@ -538,7 +538,7 @@ struct cfg80211_ssid {* @ssids: SSIDs to scan for (active scan only) * @n_ssids: number of SSIDs * @channels: channels to scan on. -* @n_channels: number of channels for each band +* @n_channels: total number of channels to scan * @ie: optional information element(s) to add into Probe Request or %NULL * @ie_len: length of ie in octets * @wiphy: the wiphy this was for