]> git.ipfire.org Git - thirdparty/hostap.git/commit
drivers: Move common definitions for wired drivers out
authorSabrina Dubroca <sd@queasysnail.net>
Sun, 27 Nov 2016 19:08:44 +0000 (20:08 +0100)
committerJouni Malinen <j@w1.fi>
Wed, 30 Nov 2016 17:33:43 +0000 (19:33 +0200)
commit0abc8d10cc357d71fff74470c613442f9070ae93
treeccdd48a22881f6a711eb961dec9587c76a38a074
parentbf88401d2336c61d0cc7972da6103210543e6782
drivers: Move common definitions for wired drivers out

Refactor the common parts of wired drivers code into a shared file, so
that they can be reused by other drivers. The macsec_qca driver already
contains a lot of code duplication from the wired driver, and the
macsec_linux driver would do the same. A structure to hold data common
to all wired drivers is added and used in all these drivers.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
src/drivers/driver_macsec_qca.c
src/drivers/driver_wired.c
src/drivers/driver_wired_common.h [new file with mode: 0644]