> - if (len > priv->hw_params.max_pkt_size || len < 16) { > + /* In monitor mode allow 802.11 ACk frames (10 bytes) */ > + if (len > priv->hw_params.max_pkt_size || > + len < ((priv->iw_mode == IEEE80211_IF_TYPE_MNTR) ? 10 : 16)) { > + > + if (priv->iw_mode == IEEE80211_IF_TYPE_MNTR) { > + iwl4965_handle_data_packet(priv, 1, include_phy, > + rxb, &rx_status); > + return; > + } Those conditions will never be true. In the case of the latter, that is a good thing, in the case of the former that isn't. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part