aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 9369710cc65b..810e6764d04f 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -855,6 +855,9 @@ static void ieee80211_setup_sdata(struct ieee80211_sub_if_data *sdata,
855 sdata->dev->netdev_ops = &ieee80211_dataif_ops; 855 sdata->dev->netdev_ops = &ieee80211_dataif_ops;
856 sdata->wdev.iftype = type; 856 sdata->wdev.iftype = type;
857 857
858 sdata->control_port_protocol = cpu_to_be16(ETH_P_PAE);
859 sdata->control_port_no_encrypt = false;
860
858 /* only monitor differs */ 861 /* only monitor differs */
859 sdata->dev->type = ARPHRD_ETHER; 862 sdata->dev->type = ARPHRD_ETHER;
860 863