Commit 53e9b1de authored by David Gnedt's avatar David Gnedt Committed by John W. Linville

mac80211: set carrier on for monitor interfaces on ieee80211_open

If a station interface is reused as monitor interface it is possible that
the carrier is still set to off. This breaks packet injection on that
monitor interface.
Force the carrier on in monitor interface initialisation like it is also done
for other interface types (e.g. adhoc, mesh point, ap).
Signed-off-by: default avatarDavid Gnedt <>
Acked-by: default avatarJohannes Berg <>
Signed-off-by: default avatarJohn W. Linville <>
parent 4ced3f74
......@@ -249,6 +249,8 @@ static int ieee80211_open(struct net_device *dev)
res = drv_add_interface(local, &sdata->vif);
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