Hi Johan, * Johan Hedberg <johan.hedberg@xxxxxxxxx> [2013-01-10 14:54:09 +0200]: > From: Johan Hedberg <johan.hedberg@xxxxxxxxx> > > Management commands should whenever possible fail with proper command > status or command complete events. This patch fixes the > mgmt_start_discovery command to do this for the failure cases where an > incorrect parameter value was passed to it ("not supported" if the > parameter value was valid but the controller doesn't support it and > "invalid params" if it isn't valid at all). > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > v2: Use proposed logic for testing for not supported parameters > > net/bluetooth/mgmt.c | 46 ++++++++++++++++++++++++++++++---------------- > 1 file changed, 30 insertions(+), 16 deletions(-) Patch has been applied. Thanks. Gustavo -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html