]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mac80211: replace some dead code by a warning
authorJohannes Berg <johannes.berg@intel.com>
Tue, 26 Mar 2013 21:10:02 +0000 (22:10 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2013 09:06:24 +0000 (11:06 +0200)
commita23108248a9d41400e686becddb5584b3a3fec1e
treec47489b24ff68ce443ec5f6ecb1cb9326259d4a0
parenta1598383241a602123b0bcf1c5210dc9617f536f
mac80211: replace some dead code by a warning

Given the (nested) switch statements, this code can't
be reached, so make it warn instead of manipulating
the carrier state which seems purposeful.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c