aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjal2 <jal2>2003-05-18 23:26:02 +0000
committerjal2 <jal2>2003-05-18 23:26:02 +0000
commit97530b3588b59f01501cb66c37607a0361fbc1d1 (patch)
tree183cbec4e1304867bce8e411efbfdb35adb76b84
parentc86470548ad9ffd250f33f77b0067323d914abf6 (diff)
fixed bug (possible system lockup) in dump_bss_table: added spinlock releasebefore_rx_fragmentation
-rw-r--r--at76c503.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/at76c503.c b/at76c503.c
index 0c2ddb4..56d0818 100644
--- a/at76c503.c
+++ b/at76c503.c
@@ -1,5 +1,5 @@
/* -*- linux-c -*- */
-/* $Id: at76c503.c,v 1.19 2003/05/14 20:58:49 jal2 Exp $
+/* $Id: at76c503.c,v 1.20 2003/05/18 23:26:02 jal2 Exp $
*
* USB at76c503/at76c505 driver
*
@@ -1973,6 +1973,8 @@ static void dump_bss_table(struct at76c503 *dev)
ptr->rates_len, ' '),
ptr->rssi, ptr->link_qual, ptr->noise_level);
}
+
+ spin_unlock_irqrestore(&dev->bss_list_spinlock, flags);
}
/* try to find a matching bss in dev->bss, starting at position start.
@@ -3901,7 +3903,7 @@ struct at76c503 *at76c503_new_device(struct usb_device *udev, int board_type,
goto error;
}
- info("$Id: at76c503.c,v 1.19 2003/05/14 20:58:49 jal2 Exp $ compiled %s %s", __DATE__, __TIME__);
+ info("$Id: at76c503.c,v 1.20 2003/05/18 23:26:02 jal2 Exp $ compiled %s %s", __DATE__, __TIME__);
info("firmware version %d.%d.%d #%d",
dev->fw_version.major, dev->fw_version.minor,
dev->fw_version.patch, dev->fw_version.build);