Luigi Rizzo
560a65051c
Rename IWI_LOCK_ASSERT to IWI_LOCK_CHECK per Sam's suggestion,
...
and make it print under debug.iwi control same as other debugging stuff.
Remove the device_printf() in iwi_ioctl() and replace with this:
/*
* wait until pending iwi_cmd() are completed, to avoid races
* that could cause problems.
*/
while (sc->flags & IWI_FLAG_BUSY)
msleep(sc, &sc->sc_mtx, 0, "iwiioctl", hz);
This at least prevents what has become an almost systematic failure for my
system, presumably due to a previous iwi_cmd() not complete yet by the
time iwi_ioctl() is called.
It has been pointed to my attention that the real problem could be
calling ieee80211_ioctl() with the lock held. If that is true,
there might still be a possibility for a race condition e.g. an
interrupt coming while the ioctl is sleeping.
Need to investigate further on what changes are required to release
the lock before calling ieee80211_ioctl
2007-02-20 17:32:30 +00:00
..
2007-02-14 09:10:37 +00:00
2006-11-06 12:14:27 +00:00
2007-01-23 07:20:44 +00:00
2006-12-11 18:28:31 +00:00
2007-01-06 08:31:31 +00:00
2006-12-11 18:28:31 +00:00
2006-12-11 18:28:31 +00:00
2006-11-02 00:54:38 +00:00
2007-02-18 19:48:59 +00:00
2006-12-11 18:28:31 +00:00
2006-12-11 18:28:31 +00:00
2006-11-06 13:42:10 +00:00
2007-02-15 15:36:15 +00:00
2006-12-29 13:59:50 +00:00
2006-12-11 18:28:31 +00:00
2007-02-17 16:56:39 +00:00
2007-01-21 19:32:51 +00:00
2007-02-04 12:47:52 +00:00
2006-12-12 03:05:04 +00:00
2007-01-26 17:03:51 +00:00
2006-11-20 23:30:07 +00:00
2007-02-14 19:44:15 +00:00
2006-12-31 19:42:47 +00:00
2006-12-11 18:28:31 +00:00
2007-01-19 08:49:28 +00:00
2006-12-29 13:59:50 +00:00
2006-11-30 15:14:17 +00:00
2006-06-11 22:25:01 +00:00
2006-11-06 13:42:10 +00:00
2006-12-29 13:59:50 +00:00
2006-05-16 14:37:58 +00:00
2006-09-15 15:16:12 +00:00
2006-05-16 14:37:58 +00:00
2006-12-29 13:59:50 +00:00
2006-12-29 13:59:50 +00:00
2007-01-13 11:00:56 +00:00
2006-12-20 01:49:56 +00:00
2006-11-06 13:42:10 +00:00
2006-09-15 15:16:12 +00:00
2006-09-27 19:57:02 +00:00
2007-01-18 13:33:36 +00:00
2006-12-28 21:55:47 +00:00
2006-06-12 04:30:42 +00:00
2006-11-23 05:48:13 +00:00
2006-12-29 16:38:22 +00:00
2006-12-01 20:29:55 +00:00
2007-01-21 19:32:51 +00:00
2007-02-15 07:22:27 +00:00
2006-03-21 14:56:42 +00:00
2007-01-18 13:08:08 +00:00
2006-11-06 13:42:10 +00:00
2006-08-04 07:56:35 +00:00
2007-01-21 19:32:51 +00:00
2006-11-29 08:05:55 +00:00
2007-01-21 19:32:51 +00:00
2006-12-06 02:04:25 +00:00
2006-06-04 22:17:25 +00:00
2006-12-06 02:07:20 +00:00
2007-01-04 20:28:17 +00:00
2006-11-06 13:42:10 +00:00
2006-09-08 21:46:01 +00:00
2007-01-11 21:13:27 +00:00
2006-12-15 21:44:49 +00:00
2007-01-09 04:26:51 +00:00
2006-05-16 14:37:58 +00:00
2006-03-11 15:39:22 +00:00
2006-12-28 00:05:40 +00:00
2006-12-05 06:19:36 +00:00
2006-12-11 18:28:31 +00:00
2006-12-15 21:44:49 +00:00
2006-10-05 07:28:43 +00:00
2007-02-15 17:21:31 +00:00
2007-02-15 17:21:31 +00:00
2006-12-10 03:42:57 +00:00
2007-02-20 17:32:30 +00:00
2006-09-17 13:33:30 +00:00
2006-11-06 13:42:10 +00:00
2006-09-27 19:57:02 +00:00
2007-01-20 14:19:29 +00:00
2006-09-15 15:16:12 +00:00
2006-11-06 13:42:10 +00:00
2007-01-20 14:57:51 +00:00
2006-12-14 11:34:07 +00:00
2007-01-23 02:47:33 +00:00
2007-02-14 18:21:32 +00:00
2006-12-15 21:44:49 +00:00
2006-12-11 18:28:31 +00:00
2006-10-20 06:39:59 +00:00
2007-02-14 22:31:21 +00:00
2006-05-16 14:37:58 +00:00
2007-02-15 06:21:34 +00:00
2007-02-15 17:21:31 +00:00
2006-12-29 16:38:22 +00:00
2006-07-14 04:36:57 +00:00
2006-11-27 04:47:27 +00:00
2006-09-17 13:33:30 +00:00
2006-11-06 13:42:10 +00:00
2006-05-16 14:37:58 +00:00
2006-11-06 13:42:10 +00:00
2006-12-05 15:31:05 +00:00
2006-11-06 17:43:10 +00:00
2006-08-04 07:56:35 +00:00
2006-05-16 14:37:58 +00:00
2007-02-16 07:51:23 +00:00
2007-02-16 05:36:59 +00:00
2007-02-17 16:56:39 +00:00
2006-05-16 14:37:58 +00:00
2006-08-01 22:19:01 +00:00
2006-12-29 16:38:22 +00:00
2006-05-12 05:04:46 +00:00
2006-09-04 18:27:14 +00:00
2006-12-19 17:37:41 +00:00
2006-11-06 13:42:10 +00:00
2006-10-19 05:25:53 +00:00
2007-01-25 17:30:30 +00:00
2006-11-20 12:59:27 +00:00
2006-05-16 15:23:27 +00:00
2006-06-04 22:17:25 +00:00
2006-11-06 13:42:10 +00:00
2006-11-06 13:42:10 +00:00
2006-07-26 03:10:01 +00:00
2006-09-15 11:01:23 +00:00
2007-01-18 13:33:36 +00:00
2006-09-14 03:47:59 +00:00
2007-01-21 19:32:51 +00:00
2006-09-26 14:38:56 +00:00
2007-02-16 17:43:29 +00:00
2006-10-20 07:11:52 +00:00
2006-07-14 04:35:59 +00:00
2007-01-21 19:32:51 +00:00
2006-07-21 20:40:13 +00:00
2007-01-21 19:32:51 +00:00
2007-01-10 19:04:00 +00:00
2006-03-03 21:37:38 +00:00
2007-01-21 19:32:51 +00:00
2006-12-11 18:28:31 +00:00
2006-12-11 23:59:42 +00:00
2006-05-16 14:37:58 +00:00
2006-09-17 13:33:30 +00:00
2007-01-18 22:01:19 +00:00
2006-10-24 11:17:46 +00:00
2007-02-09 15:59:28 +00:00
2006-11-30 21:01:59 +00:00
2006-09-27 19:57:02 +00:00
2006-09-15 11:01:23 +00:00
2006-12-15 21:44:49 +00:00
2006-12-11 18:28:31 +00:00
2006-12-11 00:41:22 +00:00
2006-11-06 13:42:10 +00:00
2006-04-15 11:41:40 +00:00
2006-11-06 13:42:10 +00:00