Search Linux Wireless

Re: [PATCH] net/wireless: ipw2x00: fix a typo in wiphy struct initilization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stanislav,

On Wed, Mar 21, 2012 at 08:52, Stanislav Yakovlev
<stas.yakovlev@xxxxxxxxx> wrote:
> Fix comment as well.
>
> Signed-off-by: Stanislav Yakovlev <stas.yakovlev@xxxxxxxxx>
> ---
> diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c
> index 4fcdac6..2b02257 100644
> --- a/drivers/net/wireless/ipw2x00/ipw2200.c
> +++ b/drivers/net/wireless/ipw2x00/ipw2200.c
> @@ -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;

Looks good.

I'm surprised that nobody noticed this before, but someone did mention
that the 2x00 802.11a parts were extremely rare.

Thanks,

-- 
Julian Calaby

Email: julian.calaby@xxxxxxxxx
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux