On Thu, 2011-05-12 at 12:02 -0700, Johannes Berg wrote: > On Thu, 2011-05-12 at 11:52 -0700, Rhyland Klein wrote: > > > > If, on the other hand, rfkill decides that at the time of loading the > > > driver wifi should be on, then the first change would be +1 and it'll > > > flip between 0 and +1. > > > > > > This seems like it'll cause issues at some point, so I think you should > > > either allow the driver to set the initial state or hardcode one of > > > these possibilities (so at least it's predictable) > > > I won't go negative, if you look, it only will disable clock if it knows > > it has already enabled it. > > Ah, you're right, I misread the macros. > > johannes > So the patch is good as is? rhyland -- 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