NFC: Stop sending LLCP frames when tx queues are getting too deep
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 1 Nov 2012 22:33:00 +0000 (23:33 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 19 Nov 2012 22:57:00 +0000 (23:57 +0100)
commitdd2bf43ffcf0d1bba94d20abc6cc44ed294db66b
tree8798f1c8c66330e0a2c5f327212e764fdc51a92d
parent6e950fd214645e71e94bce2429bea58b88e1b5d0
NFC: Stop sending LLCP frames when tx queues are getting too deep

When the tx pending queues and/or the socket tx queue is getting too deep,
we have to let userspace know. We won't be queueing any more frames until
the congestion is fixed.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp/commands.c