David Herrmann 9b338c3dd1 Bluetooth: bnep: Fix module reference
We cannot call module_put(THIS_MODULE) if this is our last reference. Otherwise,
this call may cleanup our module before it returns.

Gladly, the kthread API provides a simple wrapper for us. So lets use
module_put_and_exit() to avoid a race condition with the module cleanup code.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
2011-11-21 14:29:25 -02:00
..
2011-04-17 00:48:31 -07:00
2011-10-30 04:43:30 -04:00
2011-03-17 11:59:32 +11:00
2011-09-15 15:36:35 -04:00
2011-03-21 18:16:39 -07:00
2011-10-13 16:05:07 -04:00
2011-06-16 23:19:27 -04:00
2011-09-16 19:20:20 -04:00
2011-07-01 16:11:16 -07:00
2011-09-27 14:34:10 -04:00
2011-03-31 11:26:23 -03:00
2011-10-19 03:10:46 -04:00
2011-05-05 11:10:14 -07:00
2011-07-05 15:26:57 -04:00
2011-07-05 15:26:57 -04:00
2010-10-15 15:53:27 +02:00