On Wed, Mar 15, 2017 at 03:21:54PM +0530, suni...@techveda.org 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
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to