summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3f09a6b)
raw | patch | inline | side by side (parent: 3f09a6b)
author | Florian Forster <octo@huhu.verplant.org> | |
Sun, 16 Aug 2009 07:27:44 +0000 (09:27 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sun, 16 Aug 2009 07:27:44 +0000 (09:27 +0200) |
The first part of the type instance is already something like `ast_ant_rx' -
using `antenna%i' as the second part is therefore redundant. Thanks to Ondrej
for the pointer.
using `antenna%i' as the second part is therefore redundant. Thanks to Ondrej
for the pointer.
src/madwifi.c | patch | blob | history |
diff --git a/src/madwifi.c b/src/madwifi.c
index e46420ca9b9c9f92bc28c5de70d5ae337f2a97d0..536bcd4e0d1861f6444743d01e0f3baa08857cd2 100644 (file)
--- a/src/madwifi.c
+++ b/src/madwifi.c
if (vals[i] == 0)
continue;
- ssnprintf (ti2, sizeof (ti2), "antenna%i", i);
+ ssnprintf (ti2, sizeof (ti2), "%i", i);
submit_counter (dev, "ath_stat", name, ti2,
(counter_t) vals[i]);
}