[IRDA]: Use put_unaligned() in irlmp_do_discovery().
authorDavid S. Miller <davem@davemloft.net>
Sun, 18 Jun 2006 05:16:13 +0000 (22:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jun 2006 05:16:13 +0000 (22:16 -0700)
commitb293acfd3133393a81bcd382eb71a210c9cf9526
tree0b940bd69064a6fafa725d442ce6d93ebbe5254c
parent2c6cc0d8539f121c3c75aa3641c19b67e8723379
[IRDA]: Use put_unaligned() in irlmp_do_discovery().

irda_device_info->hints[] is byte aligned but is being
accessed as a u16

Based upon a patch by Luke Yang <luke.adi@gmail.com>.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/irlmp.c