Skip to content

Commit

Permalink
iwn: Remove verbose log.
Browse files Browse the repository at this point in the history
  • Loading branch information
zxystd committed Mar 22, 2022
1 parent 469436f commit 17f1d6f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions itlwm/hal_iwn/ItlIwn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2122,13 +2122,11 @@ iwn_rx_done(struct iwn_softc *sc, struct iwn_rx_desc *desc,
if (ic->ic_opmode == IEEE80211_M_MONITOR) {
/* Allow control frames in monitor mode. */
if (len < sizeof (struct ieee80211_frame_cts)) {
DPRINTF(("frame too short: %d\n", len));
ic->ic_stats.is_rx_tooshort++;
ifp->netStat->inputErrors++;
return;
}
} else if (len < sizeof (*wh)) {
DPRINTF(("frame too short: %d\n", len));
ic->ic_stats.is_rx_tooshort++;
ifp->netStat->inputErrors++;
return;
Expand Down

0 comments on commit 17f1d6f

Please sign in to comment.