Commit 0916c022 authored by Alexander Aring's avatar Alexander Aring Committed by Marcel Holtmann

mac802154: fix typo promisuous to promiscuous

Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent e57a8946
...@@ -87,7 +87,7 @@ struct ieee802154_sub_if_data { ...@@ -87,7 +87,7 @@ struct ieee802154_sub_if_data {
__le16 pan_id; __le16 pan_id;
__le16 short_addr; __le16 short_addr;
__le64 extended_addr; __le64 extended_addr;
bool promisuous_mode; bool promiscuous_mode;
struct ieee802154_mac_params mac_params; struct ieee802154_mac_params mac_params;
......
...@@ -181,7 +181,7 @@ static int mac802154_wpan_open(struct net_device *dev) ...@@ -181,7 +181,7 @@ static int mac802154_wpan_open(struct net_device *dev)
mutex_lock(&phy->pib_lock); mutex_lock(&phy->pib_lock);
if (local->hw.flags & IEEE802154_HW_PROMISCUOUS) { if (local->hw.flags & IEEE802154_HW_PROMISCUOUS) {
rc = drv_set_promiscuous_mode(local, sdata->promisuous_mode); rc = drv_set_promiscuous_mode(local, sdata->promiscuous_mode);
if (rc < 0) if (rc < 0)
goto out; goto out;
} }
...@@ -419,7 +419,7 @@ ieee802154_setup_sdata(struct ieee802154_sub_if_data *sdata, int type) ...@@ -419,7 +419,7 @@ ieee802154_setup_sdata(struct ieee802154_sub_if_data *sdata, int type)
sdata->dev->destructor = mac802154_wpan_free; sdata->dev->destructor = mac802154_wpan_free;
sdata->dev->netdev_ops = &mac802154_wpan_ops; sdata->dev->netdev_ops = &mac802154_wpan_ops;
sdata->dev->ml_priv = &mac802154_mlme_wpan; sdata->dev->ml_priv = &mac802154_mlme_wpan;
sdata->promisuous_mode = false; sdata->promiscuous_mode = false;
spin_lock_init(&sdata->mib_lock); spin_lock_init(&sdata->mib_lock);
mutex_init(&sdata->sec_mtx); mutex_init(&sdata->sec_mtx);
...@@ -429,7 +429,7 @@ ieee802154_setup_sdata(struct ieee802154_sub_if_data *sdata, int type) ...@@ -429,7 +429,7 @@ ieee802154_setup_sdata(struct ieee802154_sub_if_data *sdata, int type)
case IEEE802154_DEV_MONITOR: case IEEE802154_DEV_MONITOR:
sdata->dev->destructor = free_netdev; sdata->dev->destructor = free_netdev;
sdata->dev->netdev_ops = &mac802154_monitor_ops; sdata->dev->netdev_ops = &mac802154_monitor_ops;
sdata->promisuous_mode = true; sdata->promiscuous_mode = true;
break; break;
default: default:
BUG(); BUG();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment