Search Linux Wireless

[PATCH 08/30] rt2x00: Fix width of filter field.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 47c06acef36889c67594dadb4a29879d28c8415b Mon Sep 17 00:00:00 2001
From: Mattias Nissler <mattias.nissler@xxxxxx>
Date: Sat, 4 Aug 2007 19:18:44 +0200
Subject: [PATCH 08/30] rt2x00: Fix width of filter field.

The filter field needs to be declared unsigned short instead of char
in order to hold all relevant IFF_* flags.

Signed-off-by: Mattias Nissler <mattias.nissler@xxxxxx>
Signed-off-by: Ivo van Doorn <IvDoorn@xxxxxxxxx>
---
 drivers/net/wireless/rt2x00.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/rt2x00.h b/drivers/net/wireless/rt2x00.h
index 31f8a13..0db81eb 100644
--- a/drivers/net/wireless/rt2x00.h
+++ b/drivers/net/wireless/rt2x00.h
@@ -304,7 +304,7 @@ struct interface {
 	 * the monitor mode interfaces are removed, while a
 	 * non-monitor mode interface remains.
 	 */
-	char filter;
+	unsigned short filter;
 
 	/*
 	 * Monitor mode count, the number of interfaces
-- 
1.5.3.rc5

-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux