summaryrefslogtreecommitdiff
path: root/Documentation/i2c/fault-codes
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-08-15 17:09:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-21 17:28:21 +0200
commit6c08fda0306916135291103f23cc17248c422c49 (patch)
tree0e04c8d02c6eab8cb173a8848196b4c00f8153e1 /Documentation/i2c/fault-codes
parent23436825e671cdd55c45d151ddc66fd3c47d10e9 (diff)
staging: wilc1000: correctly check if associatedsta has not been found
The current check for associatedsta being set to -1 to indicate it has not been found is not working because associatedsta is initialized to zero and will never be -1. Fix this by initializing it to ~0 and checking for ~0 instead. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/i2c/fault-codes')
0 files changed, 0 insertions, 0 deletions