Skip to contentSkip to conversation

ipw2200: Fix debug output endian issue

PATCH In review Zhu Yi 1 participant 1 message Dec 5, 2006

Subsystems (3)
lore
Share & tools
lore

Zhu Yi

author
#0 lore raw

PATCH 5/5 ipw2200: Fix debug output endian issue

---

 drivers/net/wireless/ipw2200.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

7c609b56727b70a61fd28f51a445c0e032d47ef0

drivers/net/wireless/ipw2200.c +1 -1
index 2b29396..5de7ee7 100644
@@ -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;
 			}
Signature · 1 line
1.2.6