ops: make support for wireless extensions optional
[project/iwinfo.git] / iwinfo_lib.c
index 3364cfcecbf0068383f622c85f64e87bef2f205e..22571f04ff6d341c80285c4247f0193e6720a24c 100644 (file)
@@ -344,7 +344,9 @@ static const struct iwinfo_ops *backends[] = {
 #ifdef USE_WL
        &wl_ops,
 #endif
+#ifdef USE_WEXT
        &wext_ops,
+#endif
 };
 
 const char * iwinfo_type(const char *ifname)