ath79: ag71xx: preserve port mirror flags during swconfig apply
authorMilan Krstic <milan.krstic@gmail.com>
Mon, 21 Jan 2019 21:26:33 +0000 (22:26 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 22 Jan 2019 08:05:59 +0000 (09:05 +0100)
commit76a629ee35d6f3b0d428acc2674fa49caddf3745
tree812548c8cdadb4eccb1cf3fe6d68d8b876030408
parentd13e86d4c2d4c1c8970a20cc1f3214b266f57ed0
ath79: ag71xx: preserve port mirror flags during swconfig apply

The swconfig load operation always triggers 'apply' function which in
this driver currently clears port mirroring flags effectively undoing
port mirroring configuration.

Signed-off-by: Milan Krstic <milan.krstic@gmail.com>
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ar7240.c