[PATCH openEuler-5.10 v2 185/548] Bluetooth: L2CAP: Fix using wrong mode