AA: generic: ar8216: fix port number check in 'ar8xxx_mib_work_func'
authorGabor Juhos <juhosg@openwrt.org>
Sun, 25 Nov 2012 16:23:02 +0000 (16:23 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 25 Nov 2012 16:23:02 +0000 (16:23 +0000)
commitfb5e12bfc3c4a96338621fb2626bbe54028b40cb
tree25c382d027d3806ad4eea0929744ccbf9f374d42
parent20312cd4e6b64226cc4453f2107d5bfeb30c93f6
AA: generic: ar8216: fix port number check in 'ar8xxx_mib_work_func'

Backport of r34283.

Also add a WARN_ON to 'ar8216_mib_fetch_port_stat'

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