diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-11-05 14:51:20 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-05 15:53:04 -0500 |
commit | 7c118c1a866454cf2091fd84404d0915a27b0eef (patch) | |
tree | 1fb04fdec86c490a8f7a30e07440c1cbc16c902f /drivers/net/ieee802154/cc2520.c | |
parent | e4962a14435e15c0c070e8aa1b010454c9292c02 (diff) |
mac802154: add ieee802154_vif struct
This patch adds an ieee802154_vif similar like the ieee80211_vif which
holds the interface type and maybe further more attributes like the
ieee80211_vif structure.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Cc: Varka Bhadram <varkabhadram@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154/cc2520.c')
-rw-r--r-- | drivers/net/ieee802154/cc2520.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c index 340671b747b1..ccbb082f3391 100644 --- a/drivers/net/ieee802154/cc2520.c +++ b/drivers/net/ieee802154/cc2520.c | |||
@@ -651,6 +651,7 @@ static int cc2520_register(struct cc2520_private *priv) | |||
651 | priv->hw->priv = priv; | 651 | priv->hw->priv = priv; |
652 | priv->hw->parent = &priv->spi->dev; | 652 | priv->hw->parent = &priv->spi->dev; |
653 | priv->hw->extra_tx_headroom = 0; | 653 | priv->hw->extra_tx_headroom = 0; |
654 | priv->hw->vif_data_size = sizeof(*priv); | ||
654 | 655 | ||
655 | /* We do support only 2.4 Ghz */ | 656 | /* We do support only 2.4 Ghz */ |
656 | priv->hw->phy->channels_supported[0] = 0x7FFF800; | 657 | priv->hw->phy->channels_supported[0] = 0x7FFF800; |