Bluetooth: Fix checking the wrong flag when accepting a socket
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Fri, 1 Jun 2012 01:53:39 +0000 (22:53 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:26:26 +0000 (06:26 +0300)
commitddcd0f41471a1e0394c8840a119ec3986a78462c
tree734af9ef7847e5cf13de46a9d84b44906230a101
parentfcb6ff5e2cb83e1de10631f6621f45ca3401bf61
Bluetooth: Fix checking the wrong flag when accepting a socket

Most probably a typo, the check should have been for BT_SK_DEFER_SETUP
instead of BT_DEFER_SETUP (which right now only represents a socket
option).

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Acked-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/af_bluetooth.c