Bluetooth: Rename AMP status constants and use them
The AMP controller status constants need to be actually used to avoid crypted hardcoded numbers. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:

committed by
Johan Hedberg

parent
6ed971ca4f
commit
536619e86d
@@ -79,7 +79,7 @@ static inline void __a2mp_cl_bredr(struct a2mp_cl *cl)
|
||||
{
|
||||
cl->id = AMP_ID_BREDR;
|
||||
cl->type = AMP_TYPE_BREDR;
|
||||
cl->status = 1;
|
||||
cl->status = AMP_STATUS_BLUETOOTH_ONLY;
|
||||
}
|
||||
|
||||
/* hci_dev_list shall be locked */
|
||||
|
Reference in New Issue
Block a user