Skip to content
Snippets Groups Projects
Commit 6b163a85 authored by Zhang Shengju's avatar Zhang Shengju Committed by David S. Miller
Browse files

mac80211_hwsim: use reset to set mac header


Since offset is zero, it's not necessary to use set function. Reset
function is straightforward, and will remove the unnecessary add
operation in set function.

Signed-off-by: default avatarZhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6297b91c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment