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>
Showing
- include/linux/wimax.h 5 additions, 0 deletionsinclude/linux/wimax.h
- net/wimax/Makefile 1 addition, 0 deletionsnet/wimax/Makefile
- net/wimax/debug-levels.h 1 addition, 0 deletionsnet/wimax/debug-levels.h
- net/wimax/debugfs.c 1 addition, 0 deletionsnet/wimax/debugfs.c
- net/wimax/op-state-get.c 86 additions, 0 deletionsnet/wimax/op-state-get.c
- net/wimax/stack.c 4 additions, 1 deletionnet/wimax/stack.c
Loading
Please register or sign in to comment