commit | 8c7d857c4a4a552d8d3e1b2e24e1864ec2989285 | [log] [tgz] |
---|---|---|
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Wed Jul 25 01:42:36 2012 +0300 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Jul 31 16:10:59 2012 +0200 |
tree | 8fb6920044ee856549cb4d969ef4d4ae78374e08 | |
parent | 7eeff74c29259e9cb7765e3845c0b74057f744da [diff] |
mac80211: don't call mgd_prepare_tx when associated This doesn't make any sense since we are expected to be on the medium or at least to Tx only when we are on the right channel and the AP/GO can hear us. Move the call to mgd_prepare_tx() for deauth to be only done in case we're sending a deauth while not associated. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>