diff options
author | Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> | 2014-05-27 15:45:50 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-05-29 21:10:32 +0400 |
commit | cf42c4e5d3019d801ec6d033b63de5446a53af5c (patch) | |
tree | 012cf18eb22e33250c74eff31a55eabccf2fbc66 /drivers/net/wireless/b43/phy_common.c | |
parent | 39c52ee8cb6d473dda6c33431339ca2bc984d66d (diff) | |
download | linux-cf42c4e5d3019d801ec6d033b63de5446a53af5c.tar.xz |
wil6210: optimize wil_release_reorder_frames
In case of receiving frame with sequence number far greater than current,
wil_release_reorder_frames() will iterate many times over empty buffer.
Optimize this case by checking buffer emptiness and simply update
head_seq_num without iterating.
Suggested-by: Vladimir Shulman <Vladimir.Shulman@Wilocity.com>
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/phy_common.c')
0 files changed, 0 insertions, 0 deletions