]> git.baikalelectronics.ru Git - kernel.git/commit
NET: sa11x0-ir: fix size of SIR transmit buffer
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 Jan 2012 13:51:10 +0000 (13:51 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Feb 2012 15:37:57 +0000 (15:37 +0000)
commit6b2a70decf4f90e2b043a96a319f22cf792ffec1
tree94bc5f2c2cc84e02fd79467de92377d6a97d0ddb
parent21db3bc70a80dcee4bdf7cafc775ecc812065730
NET: sa11x0-ir: fix size of SIR transmit buffer

The SIR transmit buffer was being allocated as 4000 bytes.  IrDA now
has constants for the buffer sizes, and defines the maximum wrapped
SIR packet to be 4269 bytes as indicated by IRDA_SIR_MAX_FRAME.  Use
this definition to allocate the transmit buffer instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/net/irda/sa1100_ir.c