On Mon, Aug 13, 2007 at 02:26:26PM -0500, Larry Finger wrote: > --- wireless-legacy.orig/net/mac80211/wpa.c > +++ wireless-legacy/net/mac80211/wpa.c > @@ -516,9 +516,11 @@ ieee80211_rx_h_tkip_decrypt(struct ieee8 > skb->len - hdrlen, rx->sta->addr, > hwaccel, rx->u.rx.queue); > if (res != TKIP_DECRYPT_OK || wpa_test) { > - printk(KERN_DEBUG "%s: TKIP decrypt failed for RX frame from " > - MAC_FMT " (res=%d)\n", > - rx->dev->name, MAC_ARG(rx->sta->addr), res); > + if ((rx->local->hw.flags & IEEE80211_HW_WEP_INCLUDE_IV)) { > + printk(KERN_DEBUG "%s: TKIP decrypt failed for RX frame from " > + MAC_FMT " (res=%d)\n", > + rx->dev->name, MAC_ARG(rx->sta->addr), res); > + } > return TXRX_DROP; > } Since you are in there anyway, should this be rate limited? John -- John W. Linville linville@xxxxxxxxxxxxx - 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