]> git.karo-electronics.de Git - linux-beck.git/commit
mac80211: fix BSS info reconfiguration
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 5 May 2010 07:44:02 +0000 (09:44 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 7 May 2010 18:55:49 +0000 (14:55 -0400)
commitac8dd506e40ee2c7fcc61654a44c32555a0a8d6c
treed0c673f9002d453af211a3fc25705ed3f8ab219d
parentbac6fafd4d6a0af26aeb37277a39607f7ce0be77
mac80211: fix BSS info reconfiguration

When reconfiguring an interface due to a previous
hardware restart, mac80211 will currently include
the new IBSS flag on non-IBSS interfaces which may
confuse drivers.

Instead of doing the ~0 trick, simply spell out
which things are going to be reconfigured.

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