Skip to content

Commit ce2c77c

Browse files
committed
Merge pull request #9 from asukiaaa/prototypeForKernelVersion3.13.0
set value of skb->dev for kernel version 3.13.0
2 parents 8148a2e + 3ef437c commit ce2c77c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
In this document, we introduce how to support rtk 8723AE/AU BT driver in Linux system.
3-
Support kernel version 2.6.32~3.10.0
3+
Support kernel version 2.6.32~3.13.0
44

55
===========================================================================================================
66

rtk_btusb.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,10 @@ static int btusb_send_frame(struct sk_buff *skb)
624624

625625
BT_DBG("%s", hdev->name);
626626

627+
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0))
628+
skb->dev = (void *) hdev;
629+
#endif
630+
627631
if (!test_bit(HCI_RUNNING, &hdev->flags))
628632
return -EBUSY;
629633

0 commit comments

Comments
 (0)