o11s / open80211s

open80211s
Other
242 stars 55 forks source link

Add a debugfs file to set radio by echoing in a boolean value ``` diff From b15e0b25ed87544bf271b5681d15c063ef069a21 Mon Sep 17 00:00:00 2001 From: Jacob Minshall <jacob@cozybit.com> Date: Thu, 31 Oct 2013 17:03:24 -0700 Subject: [PATCH] mwl8787: add a de #39

Closed minshallj closed 10 years ago

minshallj commented 10 years ago

Allow killing the radio without affecting the interface for simulated

path healing tests.

drivers/net/wireless/mwl8787/debugfs.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)

diff --git a/drivers/net/wireless/mwl8787/debugfs.c b/drivers/net/wireless/mwl8787/debugfs.c index 2fe1478..07311f8 100644 --- a/drivers/net/wireless/mwl8787/debugfs.c +++ b/drivers/net/wireless/mwl8787/debugfs.c @@ -40,11 +40,29 @@ mwl8787_reset_write(struct file *file, return count; }

+static ssize_t +mwl8787_radio_set_write(struct file *file,

+static const struct file_operations mwl8787_radio_set_fops = {

twpedersen commented 10 years ago

This is unreadable. In the future please use git-send-email for (kernel) patch review submissions. Also can you please just push this patch into ft-sd8787-driver yourself?