summaryrefslogtreecommitdiffstats
path: root/net/nfc/hci
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2014-01-17 20:43:17 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-01-17 20:43:17 +0100
commit7916a075571f0ccd0830cf3da293188a8b6045e3 (patch)
tree119c5bb9e513c8205efed485c2dc7b8271123326 /net/nfc/hci
parentMerge branch 'virtio_rx_merging' (diff)
parentcarl9170: use ath_is_mybeacon (diff)
downloadlinux-7916a075571f0ccd0830cf3da293188a8b6045e3.tar.xz
linux-7916a075571f0ccd0830cf3da293188a8b6045e3.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem
Diffstat (limited to 'net/nfc/hci')
-rw-r--r--net/nfc/hci/core.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/net/nfc/hci/core.c b/net/nfc/hci/core.c
index 3b9610031baa..d45b638e77c7 100644
--- a/net/nfc/hci/core.c
+++ b/net/nfc/hci/core.c
@@ -335,11 +335,8 @@ exit:
kfree_skb(skb);
exit_noskb:
- if (r) {
- /* TODO: There was an error dispatching the event,
- * how to propagate up to nfc core?
- */
- }
+ if (r)
+ nfc_hci_driver_failure(hdev, r);
}
static void nfc_hci_cmd_timeout(unsigned long data)