Jelajahi Sumber

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 <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Helmut Schaa 16 tahun lalu
induk
melakukan
ca3dbc20d4
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      include/net/cfg80211.h

+ 1 - 1
include/net/cfg80211.h

@@ -538,7 +538,7 @@ struct cfg80211_ssid {
  * @ssids: SSIDs to scan for (active scan only)
  * @ssids: SSIDs to scan for (active scan only)
  * @n_ssids: number of SSIDs
  * @n_ssids: number of SSIDs
  * @channels: channels to scan on.
  * @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: optional information element(s) to add into Probe Request or %NULL
  * @ie_len: length of ie in octets
  * @ie_len: length of ie in octets
  * @wiphy: the wiphy this was for
  * @wiphy: the wiphy this was for