[IrDA] af_irda: irda_recvmsg_stream cleanup
authorOlaf Kirch <olaf.kirch@oracle.com>
Sat, 21 Apr 2007 05:05:27 +0000 (22:05 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:29:27 +0000 (22:29 -0700)
commit305f2aa18214555e611ad05e586dd385e64ab665
tree13eb53d462c9a3fc42a30a4571c42f8632249d5d
parent9958089a43ae8a9af07402461c0b2b7548c7341e
[IrDA] af_irda: irda_recvmsg_stream cleanup

This patch cleans up some code in irda_recvmsg_stream, replacing some
homebrew code with prepare_to_wait/finish_wait, and by making the
code honor sock_rcvtimeo.

Signed-off-by: Olaf Kirch <olaf.kirch@oracle.com>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/af_irda.c