aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorTomasz Moń <[email protected]>2023-07-13 10:25:14 +0000
committerLuiz Augusto von Dentz <[email protected]>2023-07-20 18:26:56 +0000
commit95b7015433053cd5f648ad2a7b8f43b2c99c949a (patch)
tree8059feef51881e9554f0312dcc87f3e2a1e85aa7 /drivers/net/ethernet/intel/igc/igc_main.c
parentBluetooth: SCO: fix sco_conn related locking and validity issues (diff)
downloadkernel-95b7015433053cd5f648ad2a7b8f43b2c99c949a.tar.gz
kernel-95b7015433053cd5f648ad2a7b8f43b2c99c949a.zip
Bluetooth: btusb: Fix bluetooth on Intel Macbook 2014
Commit c13380a55522 ("Bluetooth: btusb: Do not require hardcoded interface numbers") inadvertedly broke bluetooth on Intel Macbook 2014. The intention was to keep behavior intact when BTUSB_IFNUM_2 is set and otherwise allow any interface numbers. The problem is that the new logic condition omits the case where bInterfaceNumber is 0. Fix BTUSB_IFNUM_2 handling by allowing both interface number 0 and 2 when the flag is set. Fixes: c13380a55522 ("Bluetooth: btusb: Do not require hardcoded interface numbers") Reported-by: John Holland <[email protected]> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217651 Signed-off-by: Tomasz Moń <[email protected]> Tested-by: John Holland<[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions