On Sun, Jan 25, 2009 at 9:05 PM, Michael Buesch <mb@xxxxxxxxx> wrote: > > I think returning an error doesn't make sense. > All the set-regulatory nl80211 command does is "set the domain to X". So why does it > fail, if it was already X before the call. All the caller wants is to select domain X. > That's what he gets in any case. Whether it was set to X or not before the call shouldn't matter. > It's also confusing to get a "command failed" from iw. > Yes, it's pretty much like printing "FATAL: Unable to print out error code because no error has occurred" on success. -- Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-) -- 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