diff options
Diffstat (limited to 'net/ieee802154/wpan-class.c')
-rw-r--r-- | net/ieee802154/wpan-class.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ieee802154/wpan-class.c b/net/ieee802154/wpan-class.c index 0cec13842916..a10ae5be6adb 100644 --- a/net/ieee802154/wpan-class.c +++ b/net/ieee802154/wpan-class.c | |||
@@ -143,6 +143,9 @@ struct wpan_phy *wpan_phy_alloc(size_t priv_size) | |||
143 | 143 | ||
144 | phy->dev.class = &wpan_phy_class; | 144 | phy->dev.class = &wpan_phy_class; |
145 | 145 | ||
146 | phy->current_channel = -1; /* not initialised */ | ||
147 | phy->current_page = 0; /* for compatibility */ | ||
148 | |||
146 | return phy; | 149 | return phy; |
147 | } | 150 | } |
148 | EXPORT_SYMBOL(wpan_phy_alloc); | 151 | EXPORT_SYMBOL(wpan_phy_alloc); |