]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb24690f6a007578b5cf3dd413322eb734206a5a1
tree21d9c92e7bab1afa0b3da9f98335d45915f88aa3
parent95c9771679766577e4c930ee8dbac5661a61e148
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