summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netsniff-ng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c
index 6bdee2f..8d22151 100644
--- a/netsniff-ng.c
+++ b/netsniff-ng.c
@@ -784,7 +784,7 @@ static int next_multi_pcap_file(struct ctx *ctx, int fd)
ftime = (time_t)(start_time + sighup_time);
sighup_time = 0;
} else
- ftime = = time(NULL);
+ ftime = time(NULL);
slprintf(fname, sizeof(fname), "%s/%s%lu.pcap", ctx->device_out,
ctx->prefix ? : "dump-", ftime);
e MXC6255 which I've found online says that bits 7 and 6 of the chip-id register are undefined (for the mxc6255), testing on 5 different tablets with a mxc6225 has found the following ids: 0x25, 0x45, 0x65, 0x85, 0xe5. So it seems that for the mxc6225 bits 7, 6 and 5 of the chip-id register are undefined. This commit adjusts the chip-id check so that the mxc6255 driver properly recognizes the mxc6225 in all these tablets. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat