]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: batman-adv: splitting /proc vis file into vis_server and vis_data
authorMarek Lindner <lindner_marek@yahoo.de>
Sat, 2 Jan 2010 10:30:46 +0000 (11:30 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:35 +0000 (16:42 -0800)
commit58ad5f6a3eeda459056e7aa45914c4f95e249ef6
tree3f667c66584845e0e5aa8fac69c829e7a38b33db
parent303128e579c0bd8f68634b57497e02d4363b6fd4
Staging: batman-adv: splitting /proc vis file into vis_server and vis_data

The /proc vis file was used to enable/disable the vis server and to output
the vis data at the same time. This behaviour was confusing and lacked a
proper method to display the current vis server status.
This patch seperates the 2 functionalities:
* use vis_server to enable/disable the vis server and to retrieve its status
* use vis_data to retrieve the vis raw data (if the server is enabled)

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/proc.c
drivers/staging/batman-adv/proc.h
drivers/staging/batman-adv/types.h
drivers/staging/batman-adv/vis.c
drivers/staging/batman-adv/vis.h