diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-11-08 14:06:28 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-09 17:31:47 +0100 |
commit | 20f544eea03db4b498942558b882d463ce575c3e (patch) | |
tree | ef7b66466c7a7c3257251f86c389bf7b18ec3ef0 /net/x25/x25_dev.c | |
parent | cfff2f999d9baa561f20d999c8b83b03f078fb8f (diff) | |
download | op-kernel-dev-20f544eea03db4b498942558b882d463ce575c3e.zip op-kernel-dev-20f544eea03db4b498942558b882d463ce575c3e.tar.gz |
mac80211: don't send null data packet when not associated
On resume or firmware recovery, mac80211 sends a null
data packet to see if the AP is still around and hasn't
disconnected us. However, it always does this even if
it wasn't even connected before, leading to a warning
in the new channel context code. Fix this by checking
that it's associated.
Cc: stable@vger.kernel.org
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/x25/x25_dev.c')
0 files changed, 0 insertions, 0 deletions