+ airo-suspend-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     airo suspend fix

has been added to the -mm tree.  Its filename is

     airo-suspend-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: airo suspend fix
From: Dave Kleikamp <shaggy@xxxxxxxxxxxxxx>

The airo driver used to break out of while loop if there were any signals
pending.  Since it no longer checks for signals, it at least needs to check
if it needs to be frozen.

Signed-off-by: Dave Kleikamp <shaggy@xxxxxxxxxxxxxx>
Cc: Jean Tourrilhes <jt@xxxxxxxxxx>
Cc: John W. Linville <linville@xxxxxxxxxxxxx>
Cc: Sukadev Bhattiprolu <sukadev@xxxxxxxxxx>
Cc: Jeff Garzik <jeff@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/net/wireless/airo.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff -puN drivers/net/wireless/airo.c~airo-suspend-fix drivers/net/wireless/airo.c
--- a/drivers/net/wireless/airo.c~airo-suspend-fix
+++ a/drivers/net/wireless/airo.c
@@ -3089,7 +3089,8 @@ static int airo_thread(void *data) {
 						set_bit(JOB_AUTOWEP, &ai->jobs);
 						break;
 					}
-					if (!kthread_should_stop()) {
+					if (!kthread_should_stop() &&
+					    !freezing(current)) {
 						unsigned long wake_at;
 						if (!ai->expires || !ai->scan_timeout) {
 							wake_at = max(ai->expires,
@@ -3101,7 +3102,8 @@ static int airo_thread(void *data) {
 						schedule_timeout(wake_at - jiffies);
 						continue;
 					}
-				} else if (!kthread_should_stop()) {
+				} else if (!kthread_should_stop() &&
+					   !freezing(current)) {
 					schedule();
 					continue;
 				}
_

Patches currently in -mm which might be from shaggy@xxxxxxxxxxxxxx are

ext4-copy.patch
ext4-rename.patch
ext4-enable.patch
jbd2-copy.patch
jbd2-rename.patch
jbd2-enable.patch
jbd2-cleanup.patch
ext4-extents.patch
ext4_fsblk_sector_t.patch
ext4-extents-48bit.patch
ext4-unitialized-extent-handling.patch
extents_comment_fix.patch
64bit_jbd2_core.patch
sector_t-jbd2.patch
ext4_48bit_i_file_acl.patch
64bit-metadata.patch
ext4_blk_type_from_sector_t_to_ulonglong.patch
ext4_blk_type_from_sector_t_to_ulonglong-fix.patch
ext4_remove_sector_t_bits_check.patch
jbd2_blks_type_from_sector_t_to_ull.patch
ext4_allow_larger_descriptor_size.patch
ext4_move_block_number_hi_bits.patch
git-cifs.patch
airo-suspend-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux