> Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> Actually, I take that back. The code is correct, as per the comment above it. Stupid wext :/ /* freq->e == 0: freq->m = channel; otherwise freq = m * 10^e */ if (freq->e == 0) { if (freq->m < 0) { if (sdata->type == IEEE80211_IF_TYPE_STA) sdata->u.sta.flags |= IEEE80211_STA_AUTO_CHANNEL_SEL; return 0; } else return ieee80211_set_channel(local, freq->m, -1); johannes
Attachment:
signature.asc
Description: This is a digitally signed message part