aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/ieee80211_iface.c')
-rw-r--r--net/mac80211/ieee80211_iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_iface.c b/net/mac80211/ieee80211_iface.c
index be7e77f66fee..43e505d29452 100644
--- a/net/mac80211/ieee80211_iface.c
+++ b/net/mac80211/ieee80211_iface.c
@@ -106,7 +106,7 @@ void ieee80211_if_set_type(struct net_device *dev, int type)
106 * which already has a hard_start_xmit routine assigned 106 * which already has a hard_start_xmit routine assigned
107 * which must not be changed. 107 * which must not be changed.
108 */ 108 */
109 if (!dev->hard_start_xmit) 109 if (dev != sdata->local->mdev)
110 dev->hard_start_xmit = ieee80211_subif_start_xmit; 110 dev->hard_start_xmit = ieee80211_subif_start_xmit;
111 111
112 /* 112 /*