summaryrefslogtreecommitdiffstats
path: root/net/mac802154/mib.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-28 18:21:21 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-10-28 23:19:07 +0100
commit59cb300f2b2ce1fc46696deb9a7bd066cd53a65a (patch)
treec5bb25ddba1f8b419f3dab5b17bc43d051980f5b /net/mac802154/mib.c
parentb6eea9ca354aeb80d358ff52d046bb8a26bd2b17 (diff)
downloadop-kernel-dev-59cb300f2b2ce1fc46696deb9a7bd066cd53a65a.zip
op-kernel-dev-59cb300f2b2ce1fc46696deb9a7bd066cd53a65a.tar.gz
mac802154: use driver-ops function wrappers
This patch replaces all directly called driver ops by previous introduced driver-ops function wrappers. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/mib.c')
-rw-r--r--net/mac802154/mib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac802154/mib.c b/net/mac802154/mib.c
index 16baff1..3fbc217 100644
--- a/net/mac802154/mib.c
+++ b/net/mac802154/mib.c
@@ -24,6 +24,7 @@
#include <net/cfg802154.h>
#include "ieee802154_i.h"
+#include "driver-ops.h"
struct phy_chan_notify_work {
struct work_struct work;
@@ -170,7 +171,7 @@ static void phy_chan_notify(struct work_struct *work)
int res;
mutex_lock(&sdata->local->phy->pib_lock);
- res = local->ops->set_channel(&local->hw, sdata->page, sdata->chan);
+ res = drv_set_channel(local, sdata->page, sdata->chan);
if (res) {
pr_debug("set_channel failed\n");
} else {
OpenPOWER on IntegriCloud