netconsole: activate in set_active callback
Activate the netconsole in the set_active callback. Add proper
checks there for port and ip address, print an error when the network
hasn't been configured and finally print when the netconsole has
been enabled successfully. This makes using of the netconsole easier.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 2e1a6c9 commit 0ef2e3e315d2b31034fc6edaa4a1e955a674fcf6
@Sascha Hauer Sascha Hauer authored on 17 Dec 2014
Showing 1 changed file
View
net/netconsole.c