Bluetooth: Remove redundant code from mgmt_block & mgmt_unblock
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 8 Nov 2011 10:25:52 +0000 (12:25 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 8 Nov 2011 15:01:53 +0000 (13:01 -0200)
commit889d07ee57e950790cbec81df7b4f9d8691ee0b4
tree6092594b4133dd209570dd49a2b97ceccf7b7586
parent3243553fdc108a0ef49b9e25bdea9c87b341413e
Bluetooth: Remove redundant code from mgmt_block & mgmt_unblock

There's no need to deal with mgmt_pending_cmd when blocking and
unblocking devices since these actions are synchronous.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c