Bluetooth: Fix mgmt response when adapter goes down or is removed
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 3 Nov 2011 12:40:33 +0000 (14:40 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 7 Nov 2011 19:25:04 +0000 (17:25 -0200)
commitb24752fe655e9427240a5fe840914b94e5f9c2bc
treee1193fe5998cb0da659d5c34da753e4ca0cec4ff
parent08add513caa8930b8f7b9d5837a7dda624741745
Bluetooth: Fix mgmt response when adapter goes down or is removed

When an adapter gets powered off or is removed any pending commands
should receive a ENETDOWN or ENODEV status response.

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