wimax/i2400m: modify i2400m_tx_fifo_push() to check for head room space in the TX...
authorPrasanna S. Panchamukhi <prasannax.s.panchamukhi@intel.com>
Thu, 8 Apr 2010 23:24:30 +0000 (16:24 -0700)
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Tue, 11 May 2010 21:06:29 +0000 (14:06 -0700)
commit9e6e3bd52b0f77ca5cc385892c14ff8ba5ecfa67
tree21d9c92e7bab1afa0b3da9f98335d45915f88aa3
parent718e94907d79e74bbc7cfdb3cda2266079c5e993
wimax/i2400m: modify i2400m_tx_fifo_push() to check for head room space in the TX FIFO [v1]

This fixes i2400m_tx_fifo_push(); the check for having enough
space in the TX FIFO's tail was obscure and broken in certain
corner cases. The new check works in all cases and is way
clearer. Please refer the documentation in the code for details.

Signed-off-by: Prasanna S. Panchamukhi <prasannax.s.panchamukhi@intel.com>
drivers/net/wimax/i2400m/tx.c