]> err.no Git - linux-2.6/commitdiff
[PATCH] ipw2200: Fix debug output endian issue
authorZhu Yi <yi.zhu@intel.com>
Tue, 5 Dec 2006 06:41:40 +0000 (14:41 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Dec 2006 00:31:33 +0000 (19:31 -0500)
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2200.c

index cce55f6b355a2c1ac0557aec1015f016f1f2d3a5..d29f42773a83b88a01ebde8604701b6229be7e24 100644 (file)
@@ -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;
                        }