Search Linux Wireless

Re: [PATCH 2/2] mac80211: Copy tx'ed beacons to monitor mode

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

 



I applied patch 1, but 

> +	/* send a copy to monitor interfaces */
> +	if (!ieee80211_hw_check(hw, BEACON_TX_STATUS) &&
> +	    hw_to_local(hw)->monitors) {
> +		struct sk_buff *copy = skb_copy(bcn, GFP_ATOMIC);
> +		if (copy) {
> +			shift = ieee80211_vif_get_shift(vif);
> +			sband = hw->wiphy
> ->bands[ieee80211_get_sdata_band(vif_to_sdata(vif))];
> +			ieee80211_tx_monitor(hw_to_local(hw), copy, 
> sband, 1, shift, false);
> +		}
> +	}
> +
> 
Please add a blank line after declarations and try to get shorter lines
here.

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



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux