net: hsr/prp: fix incorrect setting of promisc mode in hsr_del_port()
Currently when hsr/prp interface is deleted, hsr_del_port() doesn't
check if device is not offloaded before calling dev_set_promiscuity().
This patch fixes that by calling dev_set_promiscuity() only when
not offloaded
Signed-off-by:
Murali Karicheri <m-karicheri2@ti.com>
Please register or sign in to comment