aboutsummaryrefslogtreecommitdiffstats
path: root/net/nfc/llcp
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-10-17 09:23:39 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-10-26 12:26:52 -0400
commit0f450772224f99db3b8384bfb8f751889d0c4cb8 (patch)
treec2b0422af06a420d853aab206605e2bb86429afd /net/nfc/llcp
parent7eda8b8e967781cfa5a04962502f9aa428f67e5f (diff)
NFC: Fix some code style and whitespace issues
Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/llcp')
-rw-r--r--net/nfc/llcp/llcp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/nfc/llcp/llcp.c b/net/nfc/llcp/llcp.c
index 285bba8c7afc..c8b27afc16f9 100644
--- a/net/nfc/llcp/llcp.c
+++ b/net/nfc/llcp/llcp.c
@@ -65,7 +65,8 @@ static void nfc_llcp_socket_release(struct nfc_llcp_local *local, bool listen)
65 struct nfc_llcp_sock *lsk, *n; 65 struct nfc_llcp_sock *lsk, *n;
66 struct sock *accept_sk; 66 struct sock *accept_sk;
67 67
68 list_for_each_entry_safe(lsk, n, &llcp_sock->accept_queue, 68 list_for_each_entry_safe(lsk, n,
69 &llcp_sock->accept_queue,
69 accept_queue) { 70 accept_queue) {
70 accept_sk = &lsk->sk; 71 accept_sk = &lsk->sk;
71 bh_lock_sock(accept_sk); 72 bh_lock_sock(accept_sk);
@@ -1111,7 +1112,7 @@ static void nfc_llcp_recv_snl(struct nfc_llcp_local *local,
1111 tlv_len = skb->len - LLCP_HEADER_SIZE; 1112 tlv_len = skb->len - LLCP_HEADER_SIZE;
1112 offset = 0; 1113 offset = 0;
1113 1114
1114 while(offset < tlv_len) { 1115 while (offset < tlv_len) {
1115 type = tlv[0]; 1116 type = tlv[0];
1116 length = tlv[1]; 1117 length = tlv[1];
1117 1118
@@ -1168,7 +1169,7 @@ static void nfc_llcp_recv_snl(struct nfc_llcp_local *local,
1168 1169
1169 pr_debug("%p %d\n", llcp_sock, sap); 1170 pr_debug("%p %d\n", llcp_sock, sap);
1170 1171
1171 send_snl: 1172send_snl:
1172 nfc_llcp_send_snl(local, tid, sap); 1173 nfc_llcp_send_snl(local, tid, sap);
1173 break; 1174 break;
1174 1175