summaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154/fakelb.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-11-12 03:36:56 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-11-12 05:10:38 +0100
commit820bd66fb28ce0c47cb024895d8bace58f5be56d (patch)
tree1028d239711c49cd590c8cdca990eb0a901c2c78 /drivers/net/ieee802154/fakelb.c
parentieee820154: add channel set support (diff)
downloadlinux-820bd66fb28ce0c47cb024895d8bace58f5be56d.tar.xz
linux-820bd66fb28ce0c47cb024895d8bace58f5be56d.zip
ieee820154: remove valid page and channel checks
This patch removes validation of page and channel while setting from driver layer. This is already handled by nl802154 and mac802154. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154/fakelb.c')
-rw-r--r--drivers/net/ieee802154/fakelb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ieee802154/fakelb.c b/drivers/net/ieee802154/fakelb.c
index 6e62286cef78..96947d724189 100644
--- a/drivers/net/ieee802154/fakelb.c
+++ b/drivers/net/ieee802154/fakelb.c
@@ -58,9 +58,6 @@ fakelb_hw_channel(struct ieee802154_hw *hw, u8 page, u8 channel)
{
pr_debug("set channel to %d\n", channel);
- hw->phy->current_page = page;
- hw->phy->current_channel = channel;
-
return 0;
}