mac80211: enable assoc check for mesh interfaces
mac80211: enable assoc check for mesh interfaces

We already set a station to be associated when peering completes, both
in user space and in the kernel.  Thus we should always have an
associated sta before sending data frames to that station.

Failure to check assoc state can cause crashes in the lower-level driver
due to transmitting unicast data frames before driver sta structures
(e.g. ampdu state in ath9k) are initialized.  This occurred when
forwarding in the presence of fixed mesh paths: frames were transmitted
to stations with whom we hadn't yet completed peering.

Cc: 4fbacc2fa0ffdbb11bf1ad6925b886ebd08dd15f@vger.kernel.org
Reported-by: Alexis Green <2ea75bd67cdc143be4ba28156687013d9f9b2819@cococorp.com>
Tested-by: Jesse Jones <e4eadea23351ebf70a820af408cd0971eae6addc@cococorp.com>
Signed-off-by: Bob Copeland <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@bobcopeland.com>
Signed-off-by: Johannes Berg <bff32994ff0f8d048f262a8388145a71b6071bfe@intel.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs