]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf510f9cb9e7e8a375950ebb6fd85536f86a68228
tree1c0bc72f63876fc2dbbcf88135d87f77f0dc0d86
parent738e44f1a359bc17cb6ba2382724026f97aea507
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