Skip to content

Commit

Permalink
Merge pull request #9 from asukiaaa/prototypeForKernelVersion3.13.0
Browse files Browse the repository at this point in the history
set value of skb->dev for kernel version 3.13.0
  • Loading branch information
lwfinger committed Apr 28, 2014
2 parents 8148a2e + 3ef437c commit ce2c77c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

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

===========================================================================================================

Expand Down
4 changes: 4 additions & 0 deletions rtk_btusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,10 @@ static int btusb_send_frame(struct sk_buff *skb)

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

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0))
skb->dev = (void *) hdev;
#endif

if (!test_bit(HCI_RUNNING, &hdev->flags))
return -EBUSY;

Expand Down

0 comments on commit ce2c77c

Please sign in to comment.