commit | 04b7fc4dec4fcb61dbe022bbaffda8ea37c39430 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Jan 12 13:51:10 2012 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Feb 09 15:37:57 2012 +0000 |
tree | 94bc5f2c2cc84e02fd79467de92377d6a97d0ddb | |
parent | 32273f50608e9b98116622e32187cbd139c09716 [diff] |
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>