--- net/irda/irlmp.c.old 2006-06-08 14:49:20.000000000 +0800 +++ net/irda/irlmp.c 2006-06-14 10:00:22.000000000 +0800 @@ -849,7 +849,10 @@ } /* Construct new discovery info to be used by IrLAP, */ - u16ho(irlmp->discovery_cmd.data.hints) = irlmp->hints.word; + irlmp->discovery_cmd.data.hints[0] = \ + le16_to_cpu(irlmp->hints.word) & 0xff; + irlmp->discovery_cmd.data.hints[1] = \ + (le16_to_cpu(irlmp->hints.word) & 0xff00) >> 8; /* * Set character set for device name (we use ASCII), and