commit | f3bb1cc4e3020f072520e49ac8c7b9a51736f75c | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Fri Apr 26 17:00:51 2013 +0300 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Fri Apr 26 17:00:51 2013 +0300 |
tree | 23fccd85d83dbfeb1edc4a891a06b3724be50d6f | |
parent | de181c082eee761a9ca796bb340a690c02b15800 [diff] |
Bluetooth: Remove unnecessary L2CAP channel state check In l2cap_att_channel() we're only interested in the BT_CONNECTED state so this state can directly be passed to l2cap_global_chan_by_scid(). This way there's no need to do any additional state check later. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>