mac80211: allow interface settings changes only when down
commitf8b25cdad719cddceb9cf0d350065b3e59e74219
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 16 Sep 2008 18:22:21 +0000 (16 20:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Sep 2008 20:18:00 +0000 (24 16:18 -0400)
treea27b82759919f499c96323e795f9c02d8a0ca7b4
parent723b038def23ce0606754c4f598cbb96bae9a102
mac80211: allow interface settings changes only when down

We currently allow monitor flags changes and mesh ID changes when
the interface is up, which can lead to trouble. Change it to only
allow when down.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c