On Thu, 2009-07-16 at 11:50 +0200, Helmut Schaa wrote: > > > + if (ieee80211_hw_config(local, > > > + IEEE80211_CONF_CHANGE_CHANNEL)) > > > > That looks weird. I don't think you really need to care about the return > > value anyway, now that we have rfkill integrated it shouldn't ever be > > nonzero (and if it is, while rfkill is being activated, it doesn't > > really matter since we're taking down interfaces) > > Ok, will change that. Oh and you can also pass 0 as the change flags, the routine will detect scan_channel and set the flag accordingly. Doesn't matter much, except in the case where you're not actually changing the channel because it's the same as the operational channel (which would be easy to optimise away by just sending probes on the current oper_channel) johannes
Attachment:
signature.asc
Description: This is a digitally signed message part