wimax/i2400m: fix system freeze caused by an infinite loop [v1]
authorPrasanna S. Panchamukhi <prasannax.s.panchamukhi@intel.com>
Thu, 8 Apr 2010 23:24:31 +0000 (16:24 -0700)
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Tue, 11 May 2010 21:06:36 +0000 (14:06 -0700)
commit85a19e07e30f67c517266cafe92b7bcd9b98966d
treee5bc9d14fecfd4dd6f8cfc297ebe689cec4eaebb
parent9e6e3bd52b0f77ca5cc385892c14ff8ba5ecfa67
wimax/i2400m: fix system freeze caused by an infinite loop [v1]

This patch fixes an infinite loop caused by i2400m_tx_fifo_push() due
to a corner case where there is no tail space in the TX FIFO.
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