diff options
Diffstat (limited to 'net/mac802154/mib.c')
-rw-r--r-- | net/mac802154/mib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac802154/mib.c b/net/mac802154/mib.c index 16baff1ea313..3fbc217dbdcc 100644 --- a/net/mac802154/mib.c +++ b/net/mac802154/mib.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <net/cfg802154.h> | 24 | #include <net/cfg802154.h> |
25 | 25 | ||
26 | #include "ieee802154_i.h" | 26 | #include "ieee802154_i.h" |
27 | #include "driver-ops.h" | ||
27 | 28 | ||
28 | struct phy_chan_notify_work { | 29 | struct phy_chan_notify_work { |
29 | struct work_struct work; | 30 | struct work_struct work; |
@@ -170,7 +171,7 @@ static void phy_chan_notify(struct work_struct *work) | |||
170 | int res; | 171 | int res; |
171 | 172 | ||
172 | mutex_lock(&sdata->local->phy->pib_lock); | 173 | mutex_lock(&sdata->local->phy->pib_lock); |
173 | res = local->ops->set_channel(&local->hw, sdata->page, sdata->chan); | 174 | res = drv_set_channel(local, sdata->page, sdata->chan); |
174 | if (res) { | 175 | if (res) { |
175 | pr_debug("set_channel failed\n"); | 176 | pr_debug("set_channel failed\n"); |
176 | } else { | 177 | } else { |