forked from Ivasoft/openwrt
generic: ar8216: mib_work_func: read all port mibs everytime
ar8xxx_mib_capture will update mib counters for all ports. Current code only update one port at a time and the data for other ports are lost. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
committed by
Petr Štetiar
parent
9fc506e9b2
commit
d6366ce366
@@ -488,7 +488,6 @@ struct ar8xxx_priv {
|
||||
|
||||
struct mutex mib_lock;
|
||||
struct delayed_work mib_work;
|
||||
int mib_next_port;
|
||||
u64 *mib_stats;
|
||||
|
||||
struct list_head list;
|
||||
|
||||
Reference in New Issue
Block a user