> 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 Andrew Signed-off-by Andrew lunn <andrew@xxxxxxx> --- 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++) - 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