On 06/30/2011 04:33 PM, Andrew Morton wrote:
Also, there are eleventy billion instances of for (j = 0; j< N; j++) udelay(MAX_STALL_TIME); which seem rather unnecessary. static inline void rtl8192c_udelay(unsigned n) { if (n< 1000) udelay(n); else mdelay(n / 1000); } or something.
As MAX_STALL_TIME is 50, I have done the math for (N * 50) / 1000 and changed the loop to the equivalent mdelay call.
Larry -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html