[PATCH 40/74] staging: rtl8723au: rtl8723a_cmd.c: Use ieee80211.h defines to set qos_ctrl

Dan Carpenter dan.carpenter at oracle.com
Wed May 21 11:45:22 UTC 2014


On Wed, May 21, 2014 at 09:38:04AM +0200, Jes.Sorensen at redhat.com wrote:
> From: Jes Sorensen <Jes.Sorensen at redhat.com>
> 
> Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
> ---
>  drivers/staging/rtl8723au/hal/rtl8723a_cmd.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_cmd.c b/drivers/staging/rtl8723au/hal/rtl8723a_cmd.c
> index dc044cf..eb747d6 100644
> --- a/drivers/staging/rtl8723au/hal/rtl8723a_cmd.c
> +++ b/drivers/staging/rtl8723au/hal/rtl8723a_cmd.c
> @@ -383,13 +383,14 @@ ConstructNullFunctionData(struct rtw_adapter *padapter, u8 *pframe,
>  	}
>  
>  	if (bQoS == true) {
> -		struct ieee80211_qos_hdr *pwlanqoshdr;
> +		struct ieee80211_qos_hdr *qoshdr;
> +		qoshdr = (struct ieee80211_qos_hdr *)pframe;

Checkpatch complains about these nowadays.

It's obviously a minor thing.  No need to resend.  No need to respond to
this email at all, in fact.

regards,
dan carpenter



More information about the devel mailing list