summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/if_spi.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-05-27 00:49:36 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-15 21:30:25 -0700
commitcadeba315cc91ae1b57632e61b0cec3a4ed7088d (patch)
treee061f57ec4afa217ca97ce22ab122c9ce79fbeb9 /drivers/net/wireless/libertas/if_spi.h
parented62acec209fa7e104b9d7871c1e5307fab83bf0 (diff)
firmware: wireless/libertas: prepare for FIRMWARE_NAME_MAX removal
We're going to remove the FIRMWARE_NAME_MAX definition in order to avoid any firmware name length restriction. This patch eplaces the shared FIRMWARE_NAME_MAX definition with a libertas local one. Signed-off-by: John W. Linville <linville@tuxdriver.com> Acked-by: Dan Williams <dcbw@redhat.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/wireless/libertas/if_spi.h')
-rw-r--r--drivers/net/wireless/libertas/if_spi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/if_spi.h b/drivers/net/wireless/libertas/if_spi.h
index 2103869cc5b..f87eec41084 100644
--- a/drivers/net/wireless/libertas/if_spi.h
+++ b/drivers/net/wireless/libertas/if_spi.h
@@ -22,6 +22,9 @@
#define IF_SPI_CMD_BUF_SIZE 2400
/***************** Firmware *****************/
+
+#define IF_SPI_FW_NAME_MAX 30
+
struct chip_ident {
u16 chip_id;
u16 name;