summaryrefslogtreecommitdiff
path: root/mac80211.c
diff options
context:
space:
mode:
Diffstat (limited to 'mac80211.c')
-rw-r--r--mac80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mac80211.c b/mac80211.c
index ee81646..f22b600 100644
--- a/mac80211.c
+++ b/mac80211.c
@@ -227,7 +227,7 @@ void enter_rfmon_mac80211(const char *device, char **mondev)
slprintf(mondevice, sizeof(mondevice), "mon%u", n);
- if (device_ifindex_get(mondevice) > 0)
+ if (__device_ifindex(mondevice) > 0)
continue;
ret = nl80211_add_mon_if(&nlstate, device, mondevice);