diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-10-25 17:16:37 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-10-25 21:55:38 +0200 |
commit | 04e850fe06312a9f570fcc7dbd0f141c012df404 (patch) | |
tree | 7c29fb73c597fec7fde431faf412532cd1c9cae1 /net/mac802154/mac_cmd.c | |
parent | mac802154: rename mac802154_sub_if_data (diff) | |
download | linux-04e850fe06312a9f570fcc7dbd0f141c012df404.tar.xz linux-04e850fe06312a9f570fcc7dbd0f141c012df404.zip |
mac802154: rename hw subif_data variable to local
This patch renames the hw attribute in struct ieee802154_sub_if_data to
local. This avoid confusing with the struct ieee802154_hw hw; inside of
local struct.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/mac_cmd.c')
-rw-r--r-- | net/mac802154/mac_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/mac_cmd.c b/net/mac802154/mac_cmd.c index bccaefbe0ba2..5ee1088e47ab 100644 --- a/net/mac802154/mac_cmd.c +++ b/net/mac802154/mac_cmd.c @@ -79,7 +79,7 @@ static struct wpan_phy *mac802154_get_phy(const struct net_device *dev) BUG_ON(dev->type != ARPHRD_IEEE802154); - return to_phy(get_device(&sdata->hw->phy->dev)); + return to_phy(get_device(&sdata->local->phy->dev)); } static struct ieee802154_llsec_ops mac802154_llsec_ops = { |