]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix incorrect condition when checking rx timestamp
authorAvraham Stern <avraham.stern@intel.com>
Mon, 12 Jun 2017 07:44:58 +0000 (10:44 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Jun 2017 08:24:32 +0000 (10:24 +0200)
commitd45f3ab394378e04e36dcba82a0f58de2c95f27b
tree7e39bdd064161cfa8d7ef0bd1304d0da1d61b05e
parentb4d2ea322f4c455590acbfd8127c1ba0301956f6
mac80211: Fix incorrect condition when checking rx timestamp

If the driver reports the rx timestamp at PLCP start, mac80211 can
only handle legacy encoding, but the code checks that the encoding
is not legacy. Fix this.

Fixes: 615848320ca0 ("mac80211: separate encoding/bandwidth from flags")
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h