diff options
author | Philipp Borgers <borgers@mi.fu-berlin.de> | 2021-05-19 14:20:19 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-06-23 11:01:49 +0200 |
commit | 4e6c78bdcfbc3aad01a527e46b89e7ab70e0c332 (patch) | |
tree | f4bef1650d78db3f44af55198280161a30dd41ee /lib/memory-notifier-error-inject.c | |
parent | d333322361e7a099dc74df2498d3fa5fde5c4fa7 (diff) |
mac80211: refactor rc_no_data_or_no_ack_use_min function
Use newly introduced helper function ieee80211_is_tx_data to check if
frame is a data frame. Takes into account that hardware encapsulation
can be enabled for a frame and therefore no ieee80211 header is present.
Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
Link: https://lore.kernel.org/r/20210519122019.92359-4-borgers@mi.fu-berlin.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions