On 01/23/2010 01:00 PM, Michael Buesch wrote:
On Saturday 23 January 2010 19:53:48 Johannes Berg wrote:
Actually you can't, because you can't acquire the mutex here since we're
in an atomic section. So relying on it being already locked is probably
safer. However, you can't actually sleep anyway...
I'm OK with removing the lock from the callback, if it is guaranteed that
the callback is only called on behalf of a RX call.
We can just remove the lock and add a comment explaining why it is not locked...
That works for me.
Larry
--
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