mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
NFC: Fix nfc_llcp_local chained list insertion
list_add was called with swapped parameters Signed-off-by: Thierry Escande <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
65210946f3
commit
16a78e9fed
1 changed files with 1 additions and 1 deletions
|
|
@ -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(&llcp_devices, &local->list);
|
||||
list_add(&local->list, &llcp_devices);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue