diff options
author | Andre Guedes <andre.guedes@openbossa.org> | 2012-05-31 16:01:35 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-06-04 23:34:16 -0400 |
commit | 8c3a4f004e706fd7e681c68c6de4946c8c76b976 (patch) | |
tree | 9276da82e757252396ae3adb7e2b2c2e59c1c200 /net/bluetooth | |
parent | 682877c31fc1b6510b694b6b8e78d8dde53a47cc (diff) |
Bluetooth: Rename L2CAP_LE_DEFAULT_MTU
This patch renames L2CAP_LE_DEFAULT_MTU macro to L2CAP_LE_MIN_MTU
since it represents the minimum MTU value, not the default MTU
value for LE.
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/l2cap_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c index ab5868d94307..a4bb27e8427e 100644 --- a/net/bluetooth/l2cap_sock.c +++ b/net/bluetooth/l2cap_sock.c | |||
@@ -449,7 +449,7 @@ static bool l2cap_valid_mtu(struct l2cap_chan *chan, u16 mtu) | |||
449 | { | 449 | { |
450 | switch (chan->scid) { | 450 | switch (chan->scid) { |
451 | case L2CAP_CID_LE_DATA: | 451 | case L2CAP_CID_LE_DATA: |
452 | if (mtu < L2CAP_LE_DEFAULT_MTU) | 452 | if (mtu < L2CAP_LE_MIN_MTU) |
453 | return false; | 453 | return false; |
454 | break; | 454 | break; |
455 | 455 | ||