]> bbs.cooldavid.org Git - net-next-2.6.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)
commite9b764506aeb06ada6a7d0a24eda3e6eb70bade1
tree3f667c66584845e0e5aa8fac69c829e7a38b33db
parent6051d44cb1210e79b39143921b9e162983a03005
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