ltq-ptm: use netif_trans_update() only for kernel >= 4.7
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 12 Feb 2017 00:03:18 +0000 (01:03 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 12 Feb 2017 00:26:33 +0000 (01:26 +0100)
commit2eed1179beb717e4fe17609764f1a1bb30aed88e
tree6e17c85538ede3f1233e627f25175fed7a875650
parent863e79f8d5544a8a884375d7e867f350fddca9b9
ltq-ptm: use netif_trans_update() only for kernel >= 4.7

This fixes a bug introduced in commit c7ce9908bd58af60153716aa64a7251
"ltq-ptm: fix build with kernel 4.9"

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c