NFC: pn533: Add MI/TG bits only when in Initiator mode
authorOlivier Guiter <olivier.guiter@linux.intel.com>
Mon, 23 Sep 2013 10:24:37 +0000 (12:24 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 25 Sep 2013 14:01:03 +0000 (16:01 +0200)
commit22953f9329ebf5cc81cefe250a079600145388b3
tree9a39d88beb3eb8d8ea802c96272ba08113bfaeb4
parent2bed27851767d93b5d2823eee110857f350a9fbe
NFC: pn533: Add MI/TG bits only when in Initiator mode

The fragmentation routine (used to split big frames) could be used in
target or initiator mode (TgSetMetaData vs InDataExchange), but the
MI/TG bytes are not needed in target mode (TgSetMetaData), so we
add a check on the mode

Signed-off-by: Olivier Guiter <olivier.guiter@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533.c
This page took 0.025758 seconds and 5 git commands to generate.