invalid context and set_rid/get_rid

Jouni Malinen jkmaline
Sat Mar 19 12:54:04 PST 2005


On Sat, Mar 19, 2005 at 08:45:10PM +0100, Marcin Dabrowski wrote:

> 	When I try to call function set_rid or get_rid I get this log:
> kernel: Debug: sleeping function called from invalid context at
> include/asm/semaphore.h:130

Where are you calling them from? Those functions can sleep and as such,
they must not be called from interrupt context.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list