change kernel version number
This commit is contained in:
@ -42,7 +42,7 @@ MODULE_LICENSE("GPL");
|
||||
static int ext_recv(struct hci_dev *hdev, const void *data, int count);
|
||||
|
||||
#if defined(LINUX_VERSION_CODE) && defined(KERNEL_VERSION)
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0))
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 0, 0))
|
||||
// 该函数直接从linux函数移植过来,低版本内核中无此函数的实现
|
||||
static inline void *skb_put_data(struct sk_buff *skb, const void *data, unsigned int len)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user