Author: jow
Date: 2014-07-25 16:36:43 +0200 (Fri, 25 Jul 2014)
New Revision: 41829

Modified:
   trunk/package/network/utils/iwinfo/src/iwinfo_utils.c
Log:
iwinfo: fix secondary radios being misreported as ralink device

Signed-off-by: Jo-Philipp Wich <[email protected]>

Modified: trunk/package/network/utils/iwinfo/src/iwinfo_utils.c
===================================================================
--- trunk/package/network/utils/iwinfo/src/iwinfo_utils.c       2014-07-25 
14:29:58 UTC (rev 41828)
+++ trunk/package/network/utils/iwinfo/src/iwinfo_utils.c       2014-07-25 
14:36:43 UTC (rev 41829)
@@ -132,7 +132,8 @@
 {
        FILE *db;
        char buf[256] = { 0 };
-       static struct iwinfo_hardware_entry e, *rv = NULL;
+       static struct iwinfo_hardware_entry e;
+       struct iwinfo_hardware_entry *rv = NULL;
 
        if (!(db = fopen(IWINFO_HARDWARE_FILE, "r")))
                return NULL;
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to