From: Alex Hung <hidden> Date: 2012-05-21 08:37:31
This rfkill type is supposed to be able to toggles the status of all wireless
devices; however, no wireless devices will register itself with type
RFKILL_TYPE_ALL and thus it was previously ignored in __rfkill_switch_all.
Signed-off-by: Alex Hung <redacted>
---
net/rfkill/core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: Johannes Berg <johannes@sipsolutions.net> Date: 2012-05-22 18:47:13
On Mon, 2012-05-21 at 16:37 +0800, Alex Hung wrote:
quoted hunk
This rfkill type is supposed to be able to toggles the status of all wireless
devices; however, no wireless devices will register itself with type
RFKILL_TYPE_ALL and thus it was previously ignored in __rfkill_switch_all.
Signed-off-by: Alex Hung <redacted>
---
net/rfkill/core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Sorry, I accidentally replied to this in private and then Alex replied
but it all got lost.
He said he was going to change the eeepc use KEY_RFKILL instead of
KEY_WLAN to switch all types...
So I guess what this change really does is make __rfkill_switch_all() be
able to not only switch all devices of a given type, but also be able to
switch all devices of all types.
Alex, can you please rewrite the commit log to make that clearer?
johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Alex Hung <hidden> Date: 2012-05-23 06:12:52
On 05/23/2012 02:46 AM, Johannes Berg wrote:
On Mon, 2012-05-21 at 16:37 +0800, Alex Hung wrote:
quoted
This rfkill type is supposed to be able to toggles the status of all wireless
devices; however, no wireless devices will register itself with type
RFKILL_TYPE_ALL and thus it was previously ignored in __rfkill_switch_all.
Signed-off-by: Alex Hung<redacted>
---
net/rfkill/core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Sorry, I accidentally replied to this in private and then Alex replied
but it all got lost.
He said he was going to change the eeepc use KEY_RFKILL instead of
KEY_WLAN to switch all types...
So I guess what this change really does is make __rfkill_switch_all() be
able to not only switch all devices of a given type, but also be able to
switch all devices of all types.
Alex, can you please rewrite the commit log to make that clearer?
johannes
Thanks for your feedback, I re-wrote the comments to clarify the changes
and re-submitted.
Cheers,
Alex Hung