summaryrefslogtreecommitdiffstats
path: root/net/mac802154/monitor.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-25 17:16:38 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-10-25 21:55:38 +0200
commitd98be45b3657fc233f5a098279a4e42ab6f0fa4f (patch)
tree3014bbeb14981bb3b3c4b913a09c6a44eeb5f8bb /net/mac802154/monitor.c
parent04e850fe06312a9f570fcc7dbd0f141c012df404 (diff)
downloadop-kernel-dev-d98be45b3657fc233f5a098279a4e42ab6f0fa4f.zip
op-kernel-dev-d98be45b3657fc233f5a098279a4e42ab6f0fa4f.tar.gz
mac802154: rename sdata slaves and slaves_mtx
This patch renamens the slaves attribute in sdata to interfaces and slaves_mtx to iflist_mtx. This is similar like the mac80211 stack naming convention. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/monitor.c')
-rw-r--r--net/mac802154/monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/monitor.c b/net/mac802154/monitor.c
index 79bce52..9d2ac5e 100644
--- a/net/mac802154/monitor.c
+++ b/net/mac802154/monitor.c
@@ -65,7 +65,7 @@ void mac802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb)
u8 *data;
rcu_read_lock();
- list_for_each_entry_rcu(sdata, &local->slaves, list) {
+ list_for_each_entry_rcu(sdata, &local->interfaces, list) {
if (sdata->type != IEEE802154_DEV_MONITOR ||
!netif_running(sdata->dev))
continue;
OpenPOWER on IntegriCloud