]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use min_t for calculating chan->mps
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 6 Dec 2013 05:08:52 +0000 (07:08 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 6 Dec 2013 06:07:42 +0000 (22:07 -0800)
commitf9b9128c48d175f230381043385a90650d61de81
tree3f39856bab5fa82b37bd32ff365e09096cdd729b
parentd366a8979037c1ebb081f514ab4c9e3a200571cf
Bluetooth: Use min_t for calculating chan->mps

Since there's a nice convenient helper for calculating the minimum of
two values, let's use that one.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c