diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-11-01 23:18:33 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-01 23:51:06 -0400 |
commit | ff4e65581eb5349b7cefeda4083abe6eba44378a (patch) | |
tree | 6edfa3e171179a79a7285ec16b5746203962f90d | |
parent | fe23bcd920015bfb655f4b3d129a9368ce8e660c (diff) |
ieee802154: remove default channel settings
This patch removes the default channel setting. A channel is always set
and there is no default channel setting according 802.15.4.
Drivers should set the default channel and page in probing routine. This
behaviour is currently a lack of all 802.15.4 drivers.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r-- | net/ieee802154/core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ieee802154/core.c b/net/ieee802154/core.c index 620abc2ba5fc..dc294a415d05 100644 --- a/net/ieee802154/core.c +++ b/net/ieee802154/core.c | |||
@@ -100,9 +100,6 @@ struct wpan_phy *wpan_phy_alloc(size_t priv_size) | |||
100 | 100 | ||
101 | phy->dev.class = &wpan_phy_class; | 101 | phy->dev.class = &wpan_phy_class; |
102 | 102 | ||
103 | phy->current_channel = -1; /* not initialised */ | ||
104 | phy->current_page = 0; /* for compatibility */ | ||
105 | |||
106 | return phy; | 103 | return phy; |
107 | 104 | ||
108 | out: | 105 | out: |