NFC: No need to apply twice the modulo op to LLCP's recv_n
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 10 Apr 2012 17:43:14 +0000 (19:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 Apr 2012 19:10:41 +0000 (15:10 -0400)
commit279cf174aea84202c5fef4675ff3f1265f071c8e
tree6195f9cd789cf21314d77ce9941f416d63b762be
parent4be646ecc94b34acec41aba628b57cfc02ab7ae0
NFC: No need to apply twice the modulo op to LLCP's recv_n

recv_n is set properly when receiving an HDLC frame.

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