mac802154: rename mac802154_sub_if_data
[deliverable/linux.git] / net / mac802154 / mac_cmd.c
index ad09d54bc690c1bec3c521c767a978ff4275483e..bccaefbe0ba23bade027d9863e7a11116561415d 100644 (file)
@@ -75,11 +75,11 @@ static int mac802154_mlme_start_req(struct net_device *dev,
 
 static struct wpan_phy *mac802154_get_phy(const struct net_device *dev)
 {
-       struct mac802154_sub_if_data *priv = netdev_priv(dev);
+       struct ieee802154_sub_if_data *sdata = netdev_priv(dev);
 
        BUG_ON(dev->type != ARPHRD_IEEE802154);
 
-       return to_phy(get_device(&priv->hw->phy->dev));
+       return to_phy(get_device(&sdata->hw->phy->dev));
 }
 
 static struct ieee802154_llsec_ops mac802154_llsec_ops = {
This page took 0.028278 seconds and 5 git commands to generate.