Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172163
b: refs/heads/master
c: cde9f80
h: refs/heads/master
i:
  172161: b973711
  172159: f17d70a
v: v3
  • Loading branch information
Vikram Kandukuri authored and Marcel Holtmann committed Dec 3, 2009
1 parent d1a91a1 commit 70293d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c78ae283145d3a8799b2fb01650166a66af3bff8
refs/heads/master: cde9f807f003676862178a6f28b52c7d431511ed
5 changes: 4 additions & 1 deletion trunk/net/bluetooth/bnep/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ static int bnep_rx_control(struct bnep_session *s, void *data, int len)

switch (cmd) {
case BNEP_CMD_NOT_UNDERSTOOD:
case BNEP_SETUP_CONN_REQ:
case BNEP_SETUP_CONN_RSP:
case BNEP_FILTER_NET_TYPE_RSP:
case BNEP_FILTER_MULTI_ADDR_RSP:
Expand All @@ -245,6 +244,10 @@ static int bnep_rx_control(struct bnep_session *s, void *data, int len)
err = bnep_ctrl_set_mcfilter(s, data, len);
break;

case BNEP_SETUP_CONN_REQ:
err = bnep_send_rsp(s, BNEP_SETUP_CONN_RSP, BNEP_CONN_NOT_ALLOWED);
break;

default: {
u8 pkt[3];
pkt[0] = BNEP_CONTROL;
Expand Down

0 comments on commit 70293d8

Please sign in to comment.