Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4c62ab9c authored by Wolfram Sang's avatar Wolfram Sang Committed by David S. Miller
Browse files

irda: irttp: allow zero byte packets

Sending zero byte packets is not neccessarily an error (AF_INET accepts it,
too), so just apply a shortcut. This was discovered because of a non-working
software with WINE. See

  http://bugs.winehq.org/show_bug.cgi?id=19397#c86
  http://thread.gmane.org/gmane.linux.irda.general/1643



for very detailed debugging information and a testcase. Kudos to Wolfgang for
those!

Reported-by: default avatarWolfgang Schwotzer <wolfgang.schwotzer@gmx.net>
Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Tested-by: default avatarMike Evans <mike.evans@cardolan.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3b42a96d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment