[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tr0: xmit ret_code: 22 xmit error code: 00



Dieter Raith writes:
 > Where can I find what this means?
 > I try to send out an ipx packet using sendto
 > 
 > Rgds
 > Dieter

Try this...or move to a newer kernel. This retcode is no longer valid
with the newer switches. 

@@ -971,14 +971,15 @@
 			} /* ARB response */
 			
 			if (status & SSB_RESP_INT) { /* SSB response */
-						
+				unsigned char retcode;		
 				switch (readb(ti->ssb)) { /* SSB command check */
 					
 				      case XMIT_DIR_FRAME:
 				      case XMIT_UI_FRAME:
-					if (readb(ti->ssb+2)) /* checks ret_code */
+					retcode = readb(ti->ssb+2);
+					if (retcode && (retcode != 0x22)) /* checks ret_code */
 						DPRINTK("xmit ret_code: %02X xmit error code: %02X\n", 
-							(int)readb(ti->ssb+2), (int)readb(ti->ssb+6));		
+							(int)retcode, (int)readb(ti->ssb+6));		
 					else ti->tr_stats.tx_packets++;
 					break;