diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-05 17:09:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-05 17:09:28 -0400 |
commit | 90864fbc7639d7a2300c67a18c9fb9fbcf7d51d2 (patch) | |
tree | 6951c8d0e529dbfc7c4cec75d4cec63350e39b7c /drivers/net/wireless/wl12xx/io.c | |
parent | 228e548e602061b08ee8e8966f567c12aa079682 (diff) | |
parent | a70171dce9cd44cb06c7d299eba9fa87a8933045 (diff) |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/wl12xx/io.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/io.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/io.c b/drivers/net/wireless/wl12xx/io.c index d557f73e7c19..da5c1ad942a4 100644 --- a/drivers/net/wireless/wl12xx/io.c +++ b/drivers/net/wireless/wl12xx/io.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "wl12xx.h" | 29 | #include "wl12xx.h" |
30 | #include "wl12xx_80211.h" | 30 | #include "wl12xx_80211.h" |
31 | #include "io.h" | 31 | #include "io.h" |
32 | #include "tx.h" | ||
32 | 33 | ||
33 | #define OCP_CMD_LOOP 32 | 34 | #define OCP_CMD_LOOP 32 |
34 | 35 | ||
@@ -43,6 +44,16 @@ | |||
43 | #define OCP_STATUS_REQ_FAILED 0x20000 | 44 | #define OCP_STATUS_REQ_FAILED 0x20000 |
44 | #define OCP_STATUS_RESP_ERROR 0x30000 | 45 | #define OCP_STATUS_RESP_ERROR 0x30000 |
45 | 46 | ||
47 | bool wl1271_set_block_size(struct wl1271 *wl) | ||
48 | { | ||
49 | if (wl->if_ops->set_block_size) { | ||
50 | wl->if_ops->set_block_size(wl, WL12XX_BUS_BLOCK_SIZE); | ||
51 | return true; | ||
52 | } | ||
53 | |||
54 | return false; | ||
55 | } | ||
56 | |||
46 | void wl1271_disable_interrupts(struct wl1271 *wl) | 57 | void wl1271_disable_interrupts(struct wl1271 *wl) |
47 | { | 58 | { |
48 | wl->if_ops->disable_irq(wl); | 59 | wl->if_ops->disable_irq(wl); |