Luis R. Rodriguez a écrit : > On Thu, Jan 14, 2010 at 4:48 PM, Benoit Papillault > <benoit.papillault@xxxxxxx> wrote: >> ieee80211_set_power_mgmt is meant for STA interfaces only. Moreover, >> since sdata->u.mgd.mtx is only initialized for STA interfaces, using >> this code for any other type of interface (like IBSS) will result in a >> oops. > > Is this path even possible at this point? Is this a stable fix? > > Luis > This is the case if you create a monitor interface (I wonder why it did not notice before however). I think we should return -EOPNOTSUPP instead of 0 (otherwise iwconfig shows "Power management:on" on monitor interface). As such, this is a stable fix. Do i need to send an updated patch? Regards, Benoit -- 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