diff options
Diffstat (limited to 'iwinfo_lua.c')
-rw-r--r-- | iwinfo_lua.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iwinfo_lua.c b/iwinfo_lua.c index 996f291..ecf257d 100644 --- a/iwinfo_lua.c +++ b/iwinfo_lua.c @@ -155,10 +155,12 @@ static char * iwinfo_crypto_desc(struct iwinfo_crypto_entry *c) for (i = 0; i < 3; i++) if (c->wpa_version & (1 << i)) + { if (i) pos += sprintf(pos, "WPA%d/", i + 1); else pos += sprintf(pos, "WPA/"); + } pos--; |