staging: wilc1000: use reset to set mac header
commitfe211cd8d850c3f9ced08f8e88d6fdaeb8a2af8a
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>
Fri, 2 Dec 2016 01:51:07 +0000 (2 09:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Dec 2016 20:49:16 +0000 (3 15:49 -0500)
tree364c90b6a13f8763696841671f75b553fe5a0162
parenta52a8a4d98f82478d8ef0d121115b514a7f72f85
staging: wilc1000: 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: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/staging/wilc1000/linux_mon.c