[PATCH 8/8] ath10k: finally kill htt_rx_info

Kalle Valo kvalo at qca.qualcomm.com
Mon Mar 24 05:38:40 EDT 2014


Janusz Dziedzic <janusz.dziedzic at tieto.com> writes:

> Struct htt_rx_info is not needed anymore while
> we will use ieee80211_rx_status structure as
> as template.
>
> Signed-off-by: Janusz Dziedzic <janusz.dziedzic at tieto.com>

[...]

> -static void ath10k_process_rx(struct ath10k *ar, struct htt_rx_info *info)
> +static void ath10k_process_rx(struct ath10k *ar,
> +			      struct ieee80211_rx_status *rx_status,
> +			      struct sk_buff *skb)
>  {
>  	struct ieee80211_rx_status *status;
>  
> -	status = IEEE80211_SKB_RXCB(info->skb);
> -	memcpy(status, &info->rx_status, sizeof(*status));
> +	status = IEEE80211_SKB_RXCB(skb);
> +	memcpy(status, rx_status, sizeof(*status));

I guess you saw this suggestion from the buildbot:

>> drivers/net/wireless/ath/ath10k/htt_rx.c:803:1-7: Replace memcpy with struct assignment

-- 
Kalle Valo



More information about the ath10k mailing list