Repository navigation
Commit 3c1c0f5
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>1 parent cfdbeea commit 3c1c0f5
1 file changed
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | 762 | | |
767 | 763 | | |
768 | 764 | | |
769 | 765 | | |
770 | 766 | | |
771 | 767 | | |
772 | 768 | | |
773 | | - | |
| 769 | + | |
774 | 770 | | |
775 | 771 | | |
776 | 772 | | |
| |||
800 | 796 | | |
801 | 797 | | |
802 | 798 | | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
| |||
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | 811 | | |
815 | 812 | | |
816 | 813 | | |
| |||
0 commit comments