diff --git a/net/bluetooth/lib.c b/net/bluetooth/lib.c index 469a0c95b6e8aea694d6badce393d3364fb16aa3..53a796ac078c3284f911acc211cf7ac79a2c0e28 100644 --- a/net/bluetooth/lib.c +++ b/net/bluetooth/lib.c @@ -170,7 +170,7 @@ __u8 bt_status(int err) case -EMLINK: return 0x09; - case EALREADY: + case -EALREADY: return 0x0b; case -EBUSY: @@ -191,7 +191,7 @@ __u8 bt_status(int err) case -ECONNABORTED: return 0x16; - case ELOOP: + case -ELOOP: return 0x17; case -EPROTONOSUPPORT: