summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2006-12-05 07:41:40 +0100
committerJohn W. Linville <linville@tuxdriver.com>2006-12-06 01:31:33 +0100
commit720eeb4332e5871c97d390b2fb55a5a74fb18ae6 (patch)
tree4a265bc90dbcf01fdd5d2d7988c89a2c5d4a65e3 /drivers/net
parent[PATCH] ipw2200: Fix a typo (diff)
downloadlinux-720eeb4332e5871c97d390b2fb55a5a74fb18ae6.tar.xz
linux-720eeb4332e5871c97d390b2fb55a5a74fb18ae6.zip
[PATCH] ipw2200: Fix debug output endian issue
Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ipw2200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index cce55f6b355a..d29f42773a83 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -8285,7 +8285,7 @@ static void ipw_rx(struct ipw_priv *priv)
("Notification: subtype=%02X flags=%02X size=%d\n",
pkt->u.notification.subtype,
pkt->u.notification.flags,
- pkt->u.notification.size);
+ le16_to_cpu(pkt->u.notification.size));
ipw_rx_notification(priv, &pkt->u.notification);
break;
}