Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
485f2b7f
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
485f2b7f
编写于
11月 14, 2012
作者:
J
John W. Linville
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth
上级
e734207f
482049f7
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
12 addition
and
8 deletion
+12
-8
drivers/bluetooth/ath3k.c
drivers/bluetooth/ath3k.c
+1
-0
drivers/bluetooth/btusb.c
drivers/bluetooth/btusb.c
+1
-0
net/bluetooth/hci_core.c
net/bluetooth/hci_core.c
+2
-2
net/bluetooth/mgmt.c
net/bluetooth/mgmt.c
+7
-5
net/bluetooth/smp.c
net/bluetooth/smp.c
+1
-1
未找到文件。
drivers/bluetooth/ath3k.c
浏览文件 @
485f2b7f
...
...
@@ -67,6 +67,7 @@ static struct usb_device_id ath3k_table[] = {
{
USB_DEVICE
(
0x13d3
,
0x3304
)
},
{
USB_DEVICE
(
0x0930
,
0x0215
)
},
{
USB_DEVICE
(
0x0489
,
0xE03D
)
},
{
USB_DEVICE
(
0x0489
,
0xE027
)
},
/* Atheros AR9285 Malbec with sflash firmware */
{
USB_DEVICE
(
0x03F0
,
0x311D
)
},
...
...
drivers/bluetooth/btusb.c
浏览文件 @
485f2b7f
...
...
@@ -124,6 +124,7 @@ static struct usb_device_id blacklist_table[] = {
{
USB_DEVICE
(
0x13d3
,
0x3304
),
.
driver_info
=
BTUSB_IGNORE
},
{
USB_DEVICE
(
0x0930
,
0x0215
),
.
driver_info
=
BTUSB_IGNORE
},
{
USB_DEVICE
(
0x0489
,
0xe03d
),
.
driver_info
=
BTUSB_IGNORE
},
{
USB_DEVICE
(
0x0489
,
0xe027
),
.
driver_info
=
BTUSB_IGNORE
},
/* Atheros AR9285 Malbec with sflash firmware */
{
USB_DEVICE
(
0x03f0
,
0x311d
),
.
driver_info
=
BTUSB_IGNORE
},
...
...
net/bluetooth/hci_core.c
浏览文件 @
485f2b7f
...
...
@@ -1754,11 +1754,11 @@ int hci_register_dev(struct hci_dev *hdev)
if
(
hdev
->
dev_type
!=
HCI_AMP
)
set_bit
(
HCI_AUTO_OFF
,
&
hdev
->
dev_flags
);
schedule_work
(
&
hdev
->
power_on
);
hci_notify
(
hdev
,
HCI_DEV_REG
);
hci_dev_hold
(
hdev
);
schedule_work
(
&
hdev
->
power_on
);
return
id
;
err_wqueue:
...
...
net/bluetooth/mgmt.c
浏览文件 @
485f2b7f
...
...
@@ -326,7 +326,7 @@ static int read_index_list(struct sock *sk, struct hci_dev *hdev, void *data,
struct
hci_dev
*
d
;
size_t
rp_len
;
u16
count
;
int
i
,
err
;
int
err
;
BT_DBG
(
"sock %p"
,
sk
);
...
...
@@ -347,9 +347,7 @@ static int read_index_list(struct sock *sk, struct hci_dev *hdev, void *data,
return
-
ENOMEM
;
}
rp
->
num_controllers
=
cpu_to_le16
(
count
);
i
=
0
;
count
=
0
;
list_for_each_entry
(
d
,
&
hci_dev_list
,
list
)
{
if
(
test_bit
(
HCI_SETUP
,
&
d
->
dev_flags
))
continue
;
...
...
@@ -357,10 +355,13 @@ static int read_index_list(struct sock *sk, struct hci_dev *hdev, void *data,
if
(
!
mgmt_valid_hdev
(
d
))
continue
;
rp
->
index
[
i
++
]
=
cpu_to_le16
(
d
->
id
);
rp
->
index
[
count
++
]
=
cpu_to_le16
(
d
->
id
);
BT_DBG
(
"Added hci%u"
,
d
->
id
);
}
rp
->
num_controllers
=
cpu_to_le16
(
count
);
rp_len
=
sizeof
(
*
rp
)
+
(
2
*
count
);
read_unlock
(
&
hci_dev_list_lock
);
err
=
cmd_complete
(
sk
,
MGMT_INDEX_NONE
,
MGMT_OP_READ_INDEX_LIST
,
0
,
rp
,
...
...
@@ -1366,6 +1367,7 @@ static int remove_uuid(struct sock *sk, struct hci_dev *hdev, void *data,
continue
;
list_del
(
&
match
->
list
);
kfree
(
match
);
found
++
;
}
...
...
net/bluetooth/smp.c
浏览文件 @
485f2b7f
...
...
@@ -267,7 +267,7 @@ static void smp_failure(struct l2cap_conn *conn, u8 reason, u8 send)
clear_bit
(
HCI_CONN_ENCRYPT_PEND
,
&
conn
->
hcon
->
flags
);
mgmt_auth_failed
(
conn
->
hcon
->
hdev
,
conn
->
dst
,
hcon
->
type
,
hcon
->
dst_type
,
reason
);
hcon
->
dst_type
,
HCI_ERROR_AUTH_FAILURE
);
cancel_delayed_work_sync
(
&
conn
->
security_timer
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录