net: fix dcbnl_setnumtcs operation check
authorDon Skidmore <donald.c.skidmore@intel.com>
Mon, 15 Dec 2008 09:06:23 +0000 (01:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Dec 2008 09:06:23 +0000 (01:06 -0800)
commit8b124a8e14c04378466ddfe63e41fc5035f957eb
tree62798f7ca17324eea6c4d4c8a7461ddf0d996c81
parent5ecc361444a0c641a73cce05fb652d0e3c944451
net: fix dcbnl_setnumtcs operation check

dcbml_setnumtcs wasn't checking for the presence of the setnumtcs
function.  Instead, it was checking for setstate which was a bug.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Eric W Multanen <eric.w.multanen@intel.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c