aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00.h
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2009-08-18 14:33:12 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-20 11:36:05 -0400
commitd904dc17495581254442b7fd054e267f2605c8ec (patch)
treed314c2e2be22fb2acdd61913d097a7b0abca2cf8 /drivers/net/wireless/rt2x00/rt2x00.h
parentafa620429ac6a636246f85d97cf205d6533e7fcb (diff)
rt2x00: bss_info_changed() callback is allowed to sleep
The bss_info_changed() callback function no longer needs to be atomic. Remove the scheduled work structure and call into the driver directly. Additionaly this makes the DRIVER_REQUIRE_SCHEDULED flag redundant so it can be removed. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index ad70946c3b5f..555a777db6df 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -350,8 +350,6 @@ struct rt2x00_intf {
350 */ 350 */
351 unsigned int delayed_flags; 351 unsigned int delayed_flags;
352#define DELAYED_UPDATE_BEACON 0x00000001 352#define DELAYED_UPDATE_BEACON 0x00000001
353#define DELAYED_CONFIG_ERP 0x00000002
354#define DELAYED_LED_ASSOC 0x00000004
355 353
356 /* 354 /*
357 * Software sequence counter, this is only required 355 * Software sequence counter, this is only required
@@ -614,7 +612,6 @@ enum rt2x00_flags {
614 DRIVER_REQUIRE_FIRMWARE, 612 DRIVER_REQUIRE_FIRMWARE,
615 DRIVER_REQUIRE_BEACON_GUARD, 613 DRIVER_REQUIRE_BEACON_GUARD,
616 DRIVER_REQUIRE_ATIM_QUEUE, 614 DRIVER_REQUIRE_ATIM_QUEUE,
617 DRIVER_REQUIRE_SCHEDULED,
618 DRIVER_REQUIRE_DMA, 615 DRIVER_REQUIRE_DMA,
619 DRIVER_REQUIRE_COPY_IV, 616 DRIVER_REQUIRE_COPY_IV,
620 DRIVER_REQUIRE_L2PAD, 617 DRIVER_REQUIRE_L2PAD,