projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6521094
)
NFC: Fix nfc_llcp_local chained list insertion
author
Thierry Escande
<thierry.escande@linux.intel.com>
Fri, 12 Oct 2012 13:25:43 +0000
(15:25 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 19 Nov 2012 23:09:25 +0000
(
00:09
+0100)
list_add was called with swapped parameters
Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp/llcp.c
patch
|
blob
|
history
diff --git
a/net/nfc/llcp/llcp.c
b/net/nfc/llcp/llcp.c
index cc10d073c3381179671ef709b58baf4600e51a2b..9e8f4b2801f6099ebd5afcff20d2b5ef19e16589 100644
(file)
--- a/
net/nfc/llcp/llcp.c
+++ b/
net/nfc/llcp/llcp.c
@@
-1210,7
+1210,7
@@
int nfc_llcp_register_device(struct nfc_dev *ndev)
local->remote_miu = LLCP_DEFAULT_MIU;
local->remote_lto = LLCP_DEFAULT_LTO;
- list_add(&l
lcp_devices, &local->list
);
+ list_add(&l
ocal->list, &llcp_devices
);
return 0;
}