linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wireless/p54: prepare for FIRMWARE_NAME_MAX removal
@ 2009-05-27  8:12 Samuel Ortiz
  0 siblings, 0 replies; only message in thread
From: Samuel Ortiz @ 2009-05-27  8:12 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-wireless

From: Samuel Ortiz <sameo@linux.intel.com>

We're going to remove the FIRMWARE_NAME_MAX definition in order to avoid any
firmware name length restriction.
This patch gets rid of the statically allocated p54usb firmware string, and
replaces them with const char pointers.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
---
 drivers/net/wireless/p54/p54usb.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: iwm-2.6/drivers/net/wireless/p54/p54usb.c
===================================================================
--- iwm-2.6.orig/drivers/net/wireless/p54/p54usb.c	2009-05-27 09:52:58.000000000 +0200
+++ iwm-2.6/drivers/net/wireless/p54/p54usb.c	2009-05-27 09:53:29.000000000 +0200
@@ -84,8 +84,8 @@ MODULE_DEVICE_TABLE(usb, p54u_table);
 static const struct {
 	u32 intf;
 	enum p54u_hw_type type;
-	char fw[FIRMWARE_NAME_MAX];
-	char fw_legacy[FIRMWARE_NAME_MAX];
+	const char *fw;
+	const char *fw_legacy;
 	char hw[20];
 } p54u_fwlist[__NUM_P54U_HWTYPES] = {
 	{
-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-27  8:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-27  8:12 [PATCH] wireless/p54: prepare for FIRMWARE_NAME_MAX removal Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).