diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/iface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 8c9419595bc8..63b63675aa6d 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
@@ -581,7 +581,8 @@ int ieee80211_do_open(struct wireless_dev *wdev, bool coming_up) | |||
581 | case NL80211_IFTYPE_P2P_DEVICE: | 581 | case NL80211_IFTYPE_P2P_DEVICE: |
582 | break; | 582 | break; |
583 | default: | 583 | default: |
584 | netif_carrier_on(dev); | 584 | /* not reached */ |
585 | WARN_ON(1); | ||
585 | } | 586 | } |
586 | 587 | ||
587 | /* | 588 | /* |