Re: [PATCH v3 5/8] staging: rtl8192e: Fix unbalanced braces

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

 



On Wed, Mar 15, 2017 at 03:21:54PM +0530, sunil.m@xxxxxxxxxxxx wrote:
> @@ -2294,17 +2294,20 @@ static int _rtl92e_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
>  
>  		if (ipw->cmd == IEEE_CMD_SET_ENCRYPTION) {
>  			if (ipw->u.crypt.set_tx) {
> -				if (strcmp(ipw->u.crypt.alg, "CCMP") == 0)
> +				if (strcmp(ipw->u.crypt.alg, "CCMP") == 0) {
>  					ieee->pairwise_key_type = KEY_TYPE_CCMP;
> -				else if (strcmp(ipw->u.crypt.alg, "TKIP") == 0)
> +				} else if (strcmp(ipw->u.crypt.alg,
> +								"TKIP") == 0) {

This is higgledy piggledy.  The original was better.

regards,
dan carpenter

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux