Bluetooth: Redpine: Bionics: L2test transfer is failed to start in Ubuntu 18.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
Bionic |
Triaged
|
Medium
|
Unassigned | ||
linux-oem (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU Justification
-----------------
Impact:
-------
Bluetooth l2test is not getting started with rsi driver.
Test Case:
----------
1. Insert redpine modules with dev_oper_
2. Check bluetooth device is created or not.
$ hciconfig -a
3. Insert other thirdparty module to run l2test.
4. Enable piscan for both interfaces
$ hciconfig -a hci0 piscan # lets say, hci0 is created for Redpine
$ hciconfig -a hci1 piscan # lets say, hci1 is created for thirdparty BT device
5. Open two terminals and then, start l2test with below commands.
Terminal 1: Keep rsi module is in Transmit mode.
$ l2test -i hci0 -s <hci1 BD address>
Terminal 2: Keep third party device is in receive mode
$ l2test -i hci1 -r
6. l2test will not run and will fail after few seconds
Fix:
----
skb->data is having some extra bytes rather than expected size , which is Incorrect. Hence, removed redundant bytes from skb using skb_trim().
Regression petential:
-------
Ran L2test for 2 hours and didn't see any issue.
summary: |
- Bluetooth: Redpine: L2test transfer is not getting started + Bluetooth: Redpine: L2test transfer is failed to start |
summary: |
- Bluetooth: Redpine: L2test transfer is failed to start + Bluetooth: Redpine: Bionics: L2test transfer is failed to start in + Ubuntu 18.04 |
Changed in linux-oem (Ubuntu): | |
status: | New → Confirmed |
Changed in linux-oem (Ubuntu): | |
importance: | Undecided → Medium |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
Changed in linux-oem (Ubuntu): | |
status: | Confirmed → Fix Released |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1781895
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.