Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75836b8d authored by Stanislav Yakovlev's avatar Stanislav Yakovlev Committed by John W. Linville
Browse files

net/wireless: ipw2x00: fix a typo in wiphy struct initilization



Fix comment as well.

Signed-off-by: default avatarStanislav Yakovlev <stas.yakovlev@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 643c61e1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -11507,9 +11507,9 @@ static int ipw_wdev_init(struct net_device *dev)
			rc = -ENOMEM;
			goto out;
		}
		/* translate geo->bg to a_band.channels */
		/* translate geo->a to a_band.channels */
		for (i = 0; i < geo->a_channels; i++) {
			a_band->channels[i].band = IEEE80211_BAND_2GHZ;
			a_band->channels[i].band = IEEE80211_BAND_5GHZ;
			a_band->channels[i].center_freq = geo->a[i].freq;
			a_band->channels[i].hw_value = geo->a[i].channel;
			a_band->channels[i].max_power = geo->a[i].max_power;