mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
iwinfo: fix secondary radios being misreported as ralink device
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41829 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -132,7 +132,8 @@ struct iwinfo_hardware_entry * iwinfo_hardware(struct iwinfo_hardware_id *id)
|
||||
{
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user