summaryrefslogtreecommitdiff
path: root/plugins/80211.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/80211.c')
-rw-r--r--plugins/80211.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/80211.c b/plugins/80211.c
index a94551dd..53b36b60 100644
--- a/plugins/80211.c
+++ b/plugins/80211.c
@@ -70,8 +70,10 @@ static void report_station(struct connman_iface *iface,
if (station == NULL)
return;
- if (station->name)
- connman_iface_indicate_station(iface, station->name);
+ if (station->name == NULL)
+ return;
+
+ connman_iface_indicate_station(iface, station->name, station->qual);
}
static struct station_data *create_station(struct iface_data *iface,