Search Linux Wireless

Re: [PATCH] try 2: mac80211: Fix swapped parameters to ieee80211_set_channel()

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

 



On Wed, 2007-12-12 at 19:02 +0100, Andrew Lunn wrote:
> > Good catch, but please resubmit with tabs as indentation and CC John
> as
> > he gets to apply patches. Or I can send it on if you wish.
> 
> OK. Here it is with tabs, and with CC to John Linville

Except now you have a bad patch description. Keep in mind that the patch
will most likely be applied with automatic tools :)

I'll leave it up to John whether he wants a new one.

> Signed-off-by Andrew lunn <andrew@xxxxxxx>

Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
> ---
> 
> 
> diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c
> index 7027eed..50d4a46 100644
> --- a/net/mac80211/ieee80211_ioctl.c
> +++ b/net/mac80211/ieee80211_ioctl.c
> @@ -344,7 +344,7 @@ static int ieee80211_ioctl_siwfreq(struct net_device *dev,
>                                         IEEE80211_STA_AUTO_CHANNEL_SEL;
>                         return 0;
>                 } else
> -                       return ieee80211_set_channel(local, freq->m, -1);
> +                       return ieee80211_set_channel(local, -1, freq->m);
>         } else {
>                 int i, div = 1000000;
>                 for (i = 0; i < freq->e; i++)
> 

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux