OSDN Git Service

mac80211: ignore CSA to same channel
authorJohannes Berg <johannes.berg@intel.com>
Thu, 12 Mar 2015 06:53:26 +0000 (08:53 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Mar 2015 08:36:12 +0000 (09:36 +0100)
commitf84eaa1068315409ffbef57e6fea312180787db3
tree1c0bc72f63876fc2dbbcf88135d87f77f0dc0d86
parent496fcc294daab18799e190c0264863d653588d1f
mac80211: ignore CSA to same channel

If the AP is confused and starts doing a CSA to the same channel,
just ignore that request instead of trying to act it out since it
was likely sent in error anyway.

In the case of the bug I was investigating the GO was misbehaving
and sending out a beacon with CSA IEs still included after having
actually done the channel switch.

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