net: dcbnl: check correct ops in dcbnl_ieee_set()
authorJohn Fastabend <john.r.fastabend@intel.com>
Wed, 2 Mar 2011 10:35:33 +0000 (10:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2011 23:04:33 +0000 (15:04 -0800)
commitf3d7bc57c71eba3f279785111bb473b1ef68dcb6
treec6a67621f6fcc5372c6d5c0d355c02a32b43621c
parent88d2d28b182dc3f38e68259efaa6dd3bc40ef1e6
net: dcbnl: check correct ops in dcbnl_ieee_set()

The incorrect ops routine was being tested for in
DCB_ATTR_IEEE_PFC attributes. This patch corrects
it.

Currently, every driver implementing ieee_setets also
implements ieee_setpfc so this bug is not actualized
yet.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c