mac80211: check fast-xmit on station change
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 19 May 2015 12:13:36 +0000 (14:13 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 May 2015 13:08:36 +0000 (15:08 +0200)
commit464daaf04cb633ae1530652fd23cdea0f0d21dd5
tree54984a15dfc4f0f0a9b0b8a22d6e9ceff5f18270
parentf8bdbb584749420da1a7fea8cc1df18e5c2c4d6c
mac80211: check fast-xmit on station change

Drivers with fast-xmit (e.g. ath10k) running in
AP_VLAN setups would fail to communicate with
connected 4addr stations.

The reason was when new station associates it
first goes into master AP interface. It is not
until later that a dedicated AP_VLAN is created
for it and the station itself is moved there.
After that Tx directed at the station should use
4addr header. However fast-xmit wasn't
recalculated and 3addr header remained to be used.
This in turn caused the connected 4addr stations
to drop packets coming from the AP until some
other event would cause fast-xmit to recalculate
for that station (which could never come).

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c