diff --git a/iw_parse.py b/iw_parse.py
index <HASH>..<HASH> 100644
--- a/iw_parse.py
+++ b/iw_parse.py
@@ -137,7 +137,14 @@ def get_encryption(cell, emit_version=False):
                     .replace("version", "") \
                     .strip()
                 wpa = wpa.replace(version_matches.group(0), "").strip()
-                enc = "{0} v.{1}".format(wpa, version)
+                if wpa == "":
+                    wpa = "WPA"
+                if emit_version:
+                    enc = "{0} v.{1}".format(wpa, version)
+                else:
+                    enc = wpa
+                if wpa == "WPA2":
+                    return enc
             else:
                 enc = wpa
         if enc == "":
Don't show WPA version by default, fix, parsing

Not yet WPA3 ready :)