NFC: Fix empty HCI message list check
authorMathias Jeppsson <mathias.jeppsson@sonymobile.com>
Fri, 6 Jul 2012 22:53:18 +0000 (00:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Jul 2012 15:42:50 +0000 (11:42 -0400)
list_first_entry() will never return NULL. Instead use
list_for_each_entry_safe() to iterate through the list.

Signed-off-by: Mathias Jeppsson <mathias.jeppsson@sonymobile.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found