Re: [PATCH] hostap: avoid calling kmalloc while holding spinlock

2005-12-09 Thread John W. Linville
On Fri, Dec 09, 2005 at 09:08:47PM +0100, Francois Romieu wrote: > John W. Linville <[EMAIL PROTECTED]> : > [...] > > __prism2_translate_scan uses kmalloc to dynamically allocates a buffer > > for holding some textual diagnostic output, and it does so while holding a > > spinlock. With CONFIG_DEBU

Re: [PATCH] hostap: avoid calling kmalloc while holding spinlock

2005-12-09 Thread Francois Romieu
John W. Linville <[EMAIL PROTECTED]> : [...] > __prism2_translate_scan uses kmalloc to dynamically allocates a buffer > for holding some textual diagnostic output, and it does so while holding a > spinlock. With CONFIG_DEBUG_SPINLOCK_SLEEP defined, this causes debug > messages to appear in /var/lo

[PATCH] hostap: avoid calling kmalloc while holding spinlock

2005-12-09 Thread John W. Linville
From: John W. Linville <[EMAIL PROTECTED]> __prism2_translate_scan uses kmalloc to dynamically allocates a buffer for holding some textual diagnostic output, and it does so while holding a spinlock. With CONFIG_DEBUG_SPINLOCK_SLEEP defined, this causes debug messages to appear in /var/log/message