mac80211: ensure we don't update tx power on a non-running sdata
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 17 Nov 2015 08:24:39 +0000 (10:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 20 Nov 2015 10:38:50 +0000 (11:38 +0100)
commit5ad11b50fda1306b5317124f97f0a7a4c022b022
tree74fb014c750ee90560833713ffb9820985b470d1
parentc2e703a55245bfff3db53b1f7cbe59f1ee8a4339
mac80211: ensure we don't update tx power on a non-running sdata

We can't update the Tx power on the device unless it is
running.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=101521.

Cc: stable@vger.kernel.org
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c