[PATCH 17/80] staging: wilc1000: rename enuHostIFstate of struct host_if_drv

Dan Carpenter dan.carpenter at oracle.com
Wed Oct 28 14:07:26 UTC 2015


On Wed, Oct 28, 2015 at 03:59:37PM +0900, Glen Lee wrote:
> @@ -1837,10 +1839,11 @@ static int Handle_Key(struct host_if_drv *hif_drv,
>  				goto _WPARxGtk_end_case_;
>  			}
>  
> -			if (hif_drv->enuHostIFstate == HOST_IF_CONNECTED)
> +			if (hif_drv->hif_state == HOST_IF_CONNECTED)
>  				memcpy(pu8keybuf, hif_drv->au8AssociatedBSSID, ETH_ALEN);
>  			else
> -				PRINT_ER("Couldn't handle WPARxGtk while enuHostIFstate is not HOST_IF_CONNECTED\n");
> +				PRINT_ER("Couldn't handle WPARxGtk while \
> +					 state is not HOST_IF_CONNECTED\n");

This line break is not correct.  It adds unwanted indenting to the dmesg
output.

regards,
dan carpenter



More information about the devel mailing list