generic: ar8216: fix port number check in 'ar8xxx_mib_work_func'
authorGabor Juhos <juhosg@openwrt.org>
Tue, 20 Nov 2012 20:40:04 +0000 (20:40 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 20 Nov 2012 20:40:04 +0000 (20:40 +0000)
commit2a792f32b54e274ea6b536033c3f5bdc8a75cc33
tree610a312b18791b8877052d10211e7a27f339e049
parent258b2f2dc226da2a69f89a19dc2d8795579c99c4
generic: ar8216: fix port number check in 'ar8xxx_mib_work_func'

Also add a WARN_ON to 'ar8216_mib_fetch_port_stat'

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34283
target/linux/generic/files/drivers/net/phy/ar8216.c