diff options
-rw-r--r-- | net/rfkill/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rfkill/core.c b/net/rfkill/core.c index b3b16c070a7f..fa7cd792791c 100644 --- a/net/rfkill/core.c +++ b/net/rfkill/core.c | |||
@@ -329,7 +329,7 @@ static atomic_t rfkill_input_disabled = ATOMIC_INIT(0); | |||
329 | /** | 329 | /** |
330 | * __rfkill_switch_all - Toggle state of all switches of given type | 330 | * __rfkill_switch_all - Toggle state of all switches of given type |
331 | * @type: type of interfaces to be affected | 331 | * @type: type of interfaces to be affected |
332 | * @state: the new state | 332 | * @blocked: the new state |
333 | * | 333 | * |
334 | * This function sets the state of all switches of given type, | 334 | * This function sets the state of all switches of given type, |
335 | * unless a specific switch is claimed by userspace (in which case, | 335 | * unless a specific switch is claimed by userspace (in which case, |
@@ -353,7 +353,7 @@ static void __rfkill_switch_all(const enum rfkill_type type, bool blocked) | |||
353 | /** | 353 | /** |
354 | * rfkill_switch_all - Toggle state of all switches of given type | 354 | * rfkill_switch_all - Toggle state of all switches of given type |
355 | * @type: type of interfaces to be affected | 355 | * @type: type of interfaces to be affected |
356 | * @state: the new state | 356 | * @blocked: the new state |
357 | * | 357 | * |
358 | * Acquires rfkill_global_mutex and calls __rfkill_switch_all(@type, @state). | 358 | * Acquires rfkill_global_mutex and calls __rfkill_switch_all(@type, @state). |
359 | * Please refer to __rfkill_switch_all() for details. | 359 | * Please refer to __rfkill_switch_all() for details. |