From 97530b3588b59f01501cb66c37607a0361fbc1d1 Mon Sep 17 00:00:00 2001 From: jal2 Date: Sun, 18 May 2003 23:26:02 +0000 Subject: fixed bug (possible system lockup) in dump_bss_table: added spinlock release --- at76c503.c | 6 ++++-- 1 file 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); -- cgit v1.2.3