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:34:16 +0000 (06:34 +0300)
commitd060991f3bf4b6f8e9c5dec0c210fe76d9165000
treeac65df40ba4d09916995db0d6154504187b0579b
parent0431a43ca5ada5ffd3668116b64168f4a1a64286
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