staging: ks7010: fix off by one error
authorTobin C. Harding <me@tobin.cc>
Wed, 15 Mar 2017 01:01:07 +0000 (12:01 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Mar 2017 02:41:36 +0000 (11:41 +0900)
commit7bb6313d011f16405b338a228f540d3ab5aee58a
treed9c122d76252c1a5cb05ff36f769f57433f5e9c8
parent53044529769b38daf7af3a185f6f13890a6fe738
staging: ks7010: fix off by one error

Bug introduced in commit 7676b72 by Tobin C. Harding.

Remove equals sign from comparison, fixing off by one error.

Fixes: 7676b72428e8 ("staging: ks7010: move comparison to right hand side")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c