Search Linux Wireless

Re: [PATCH 20/25] iwlwifi : Set monitor mode for 4965

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

 



> -	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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux