commit | 3c1c0f5dc80bbde5baef2403cc6a0d33c9824d2d | [log] [tgz] |
---|---|---|
author | Vincent Cuissard <cuissard@marvell.com> | Tue Jul 22 19:48:39 2014 +0200 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Mon Sep 01 14:40:37 2014 +0200 |
tree | bd2bf21f0a1d71635d7dd8ea17ad9ad7b7a75001 | |
parent | cfdbeeafdbbdbc006f700e92cbad2cb5d4529f3d [diff] |
NFC: NCI: Fix nci_register_device init sequence All contexts have to be initiliazed before calling nfc_register_device otherwise it is possible to call nci_dev_up before ending the nci_register_device function. In such case kernel will crash on non initialized variables. Signed-off-by: Vincent Cuissard <cuissard@marvell.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>