Re: [PATCH 1/2] Bluetooth: Introduce a new HCI_BREDR_ENABLED flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marcel,

On Wed, Oct 02, 2013, Marcel Holtmann wrote:
> > @@ -1493,6 +1500,11 @@ int hci_dev_cmd(unsigned int cmd, void __user *arg)
> > 		goto done;
> > 	}
> > 
> > +	if (!test_bit(HCI_BREDR_ENABLED, &hdev->dev_flags)) {
> > +		err = -ENOTSUPP;
> > +		goto done;
> > +	}
> > +
> 
> quick question, shouldn't these be EOPNOTSUPP.

Yes, we should, except for the hci_conn.c change. I've fixed this in the
latest set.

Johan
--
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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux