summaryrefslogtreecommitdiffstats
path: root/net/wimax/debug-levels.h
diff options
context:
space:
mode:
authorPaulius Zaleckas <paulius.zaleckas@teltonika.lt>2009-05-13 06:20:29 -0700
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-05-28 18:02:20 -0700
commit7f0333eb2f98bbfece4fbfe21076d0a3e49f0bb0 (patch)
tree6dcfd052fccde051f56600a7cea095a8f1479d74 /net/wimax/debug-levels.h
parenta0a4c4c9e54ee4255f46eedb572ad69ee34c77b6 (diff)
downloadlinux-7f0333eb2f98bbfece4fbfe21076d0a3e49f0bb0.tar.gz
linux-7f0333eb2f98bbfece4fbfe21076d0a3e49f0bb0.tar.bz2
linux-7f0333eb2f98bbfece4fbfe21076d0a3e49f0bb0.zip
wimax: Add netlink interface to get device state
wimax connection manager / daemon has to know what is current state of the device. Previously it was only possible to get notification whet state has changed. Note: By mistake, the new generic netlink's number for WIMAX_GNL_OP_STATE_GET was declared inserting into the existing list of API calls, not appending; thus, it'd break existing API. Fixed by Inaky Perez-Gonzalez <inaky@linux.intel.com> by moving to the tail, where we add to the interface, not modify the interface. Thanks to Stephen Hemminger <shemminger@vyatta.com> for catching this. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Diffstat (limited to 'net/wimax/debug-levels.h')
-rw-r--r--net/wimax/debug-levels.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wimax/debug-levels.h b/net/wimax/debug-levels.h
index 1c29123a3aa9..0975adba6b71 100644
--- a/net/wimax/debug-levels.h
+++ b/net/wimax/debug-levels.h
@@ -36,6 +36,7 @@ enum d_module {
D_SUBMODULE_DECLARE(op_msg),
D_SUBMODULE_DECLARE(op_reset),
D_SUBMODULE_DECLARE(op_rfkill),
+ D_SUBMODULE_DECLARE(op_state_get),
D_SUBMODULE_DECLARE(stack),
};