From: Jesper Juhl Date: Fri, 22 Jun 2012 00:28:12 +0000 (+0200) Subject: staging: vt6656: Correct a few assignments to be compares in iwctl_siwencodeext() X-Git-Tag: v3.6-rc1~100^2~603 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70b3fd34a9b2e06b2702d691d406ef2ec1d2f0df;p=pandora-kernel.git staging: vt6656: Correct a few assignments to be compares in iwctl_siwencodeext() The result of "foo = bar" is true, so in statements such as ... if((pDevice->bwextstep0 = TRUE)&&(param->u.wpa_key.key_index ==1)) ... an assignment is most likely not what was intended - a comparison was. As in: ... if ((pDevice->bwextstep0 == TRUE) && (param->u.wpa_key.key_index == 1)) ... There are a 3 such mistakes in the iwctl_siwencodeext() function. This patch fixes them all. Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed