summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/trigger/iio-trig-periodic-rtc.c
diff options
context:
space:
mode:
authorJesper Juhl2012-06-22 02:28:12 +0200
committerGreg Kroah-Hartman2012-06-23 06:04:05 +0200
commit70b3fd34a9b2e06b2702d691d406ef2ec1d2f0df (patch)
tree5718ee2766567c93698e1649d38f7b7071dc4644 /drivers/staging/iio/trigger/iio-trig-periodic-rtc.c
parentstaging: rts5139: Remove duplicate include of rts51x.h (diff)
downloadkernel-qcow2-linux-70b3fd34a9b2e06b2702d691d406ef2ec1d2f0df.tar.gz
kernel-qcow2-linux-70b3fd34a9b2e06b2702d691d406ef2ec1d2f0df.tar.xz
kernel-qcow2-linux-70b3fd34a9b2e06b2702d691d406ef2ec1d2f0df.zip
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 <jj@chaosbits.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/trigger/iio-trig-periodic-rtc.c')
0 files changed, 0 insertions, 0 deletions