diff options
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx_main.c')
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_main.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c index 29df4f844c9b..ac9a8dd1ab8f 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c | |||
@@ -404,6 +404,8 @@ static void bcm43xx_write_mac_bssid_templates(struct bcm43xx_private *bcm) | |||
404 | bcm43xx_ram_write(bcm, 0x478 + i, *((u32 *)(mac_bssid + i))); | 404 | bcm43xx_ram_write(bcm, 0x478 + i, *((u32 *)(mac_bssid + i))); |
405 | } | 405 | } |
406 | 406 | ||
407 | //FIXME: Well, we should probably call them from somewhere. | ||
408 | #if 0 | ||
407 | static void bcm43xx_set_slot_time(struct bcm43xx_private *bcm, u16 slot_time) | 409 | static void bcm43xx_set_slot_time(struct bcm43xx_private *bcm, u16 slot_time) |
408 | { | 410 | { |
409 | /* slot_time is in usec. */ | 411 | /* slot_time is in usec. */ |
@@ -422,8 +424,12 @@ static void bcm43xx_short_slot_timing_disable(struct bcm43xx_private *bcm) | |||
422 | { | 424 | { |
423 | bcm43xx_set_slot_time(bcm, 20); | 425 | bcm43xx_set_slot_time(bcm, 20); |
424 | } | 426 | } |
427 | #endif | ||
425 | 428 | ||
426 | //FIXME: rename this func? | 429 | /* FIXME: To get the MAC-filter working, we need to implement the |
430 | * following functions (and rename them :) | ||
431 | */ | ||
432 | #if 0 | ||
427 | static void bcm43xx_disassociate(struct bcm43xx_private *bcm) | 433 | static void bcm43xx_disassociate(struct bcm43xx_private *bcm) |
428 | { | 434 | { |
429 | bcm43xx_mac_suspend(bcm); | 435 | bcm43xx_mac_suspend(bcm); |
@@ -451,7 +457,6 @@ static void bcm43xx_disassociate(struct bcm43xx_private *bcm) | |||
451 | bcm43xx_mac_enable(bcm); | 457 | bcm43xx_mac_enable(bcm); |
452 | } | 458 | } |
453 | 459 | ||
454 | //FIXME: rename this func? | ||
455 | static void bcm43xx_associate(struct bcm43xx_private *bcm, | 460 | static void bcm43xx_associate(struct bcm43xx_private *bcm, |
456 | const u8 *mac) | 461 | const u8 *mac) |
457 | { | 462 | { |
@@ -462,6 +467,7 @@ static void bcm43xx_associate(struct bcm43xx_private *bcm, | |||
462 | bcm43xx_write_mac_bssid_templates(bcm); | 467 | bcm43xx_write_mac_bssid_templates(bcm); |
463 | bcm43xx_mac_enable(bcm); | 468 | bcm43xx_mac_enable(bcm); |
464 | } | 469 | } |
470 | #endif | ||
465 | 471 | ||
466 | /* Enable a Generic IRQ. "mask" is the mask of which IRQs to enable. | 472 | /* Enable a Generic IRQ. "mask" is the mask of which IRQs to enable. |
467 | * Returns the _previously_ enabled IRQ mask. | 473 | * Returns the _previously_ enabled IRQ mask. |