Bluetooth: Fix race condition with L2CAP information request
[pandora-kernel.git] / include / net / dcbnl.h
index c7d87ca..775cfc8 100644 (file)
@@ -26,7 +26,7 @@
  */
 struct dcbnl_rtnl_ops {
        u8   (*getstate)(struct net_device *);
-       void (*setstate)(struct net_device *, u8);
+       u8   (*setstate)(struct net_device *, u8);
        void (*getpermhwaddr)(struct net_device *, u8 *);
        void (*setpgtccfgtx)(struct net_device *, int, u8, u8, u8, u8);
        void (*setpgbwgcfgtx)(struct net_device *, int, u8);
@@ -44,6 +44,10 @@ struct dcbnl_rtnl_ops {
        u8   (*setnumtcs)(struct net_device *, int, u8);
        u8   (*getpfcstate)(struct net_device *);
        void (*setpfcstate)(struct net_device *, u8);
+       void (*getbcncfg)(struct net_device *, int, u32 *);
+       void (*setbcncfg)(struct net_device *, int, u32);
+       void (*getbcnrp)(struct net_device *, int, u8 *);
+       void (*setbcnrp)(struct net_device *, int, u8);
 };
 
 #endif /* __NET_DCBNL_H__ */