24 Dec, 2009
1 commit
-
Memset should be given the size of the structure, not the size of the pointer.
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)//
@@
type T;
T *x;
expression E;
@@memset(x, E, sizeof(
+ *
x))
//Signed-off-by: Julia Lawall
Signed-off-by: Greg Kroah-Hartman
31 Oct, 2009
1 commit
-
Change the wireless drivers to depend on CONFIG_WLAN instead of
CONFIG_WLAN_80211 which is going away soon.Cc: John W. Linville
Signed-off-by: Greg Kroah-Hartman
16 Sep, 2009
7 commits
-
As the driver is in mainline now we can remove such dependency.
WIRELESS_EXT is 22 now and it is always defined.Signed-off-by: Alexander Beregalov
Signed-off-by: Greg Kroah-Hartman -
Convert prism2_usb firmware loading to load firmware in pre-compiled
binary 'ihex' format rather than ascii 'srec' format. This moves the
srec processing and sorting of records out of kernel space into a
pre-compiler. The driver now just works with the binary image, but
still does the 'pda plugging' of that image at runtime, as required
by the prism hardware.Some Notes:
- The firmware is now expected to be in the same 'ihex' (.fw) format
used by other drivers.- The now driver assumes the data records are already sorted into ascending
address order.- Plug and crc records are still recognised by special address locations
as in original srec processing.- The srec S7 start address record is assumed to have been converted
into a data record with another special address location (0xff400000),
with the original start address being stored as a 4 byte data word
(little endian).Signed-off-by: Karl Relton
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
…IRELESS_EXT is at 22 for the current kernel.
Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
scripts/checkpatch.pl error fixes. This is a TODO item.
This patch fixes most of the errors reported by checkpatch.pl in
wlan-ng directory of staging tree.Signed-off-by: Mithlesh Thukral
Signed-off-by: Greg Kroah-Hartman
06 Jul, 2009
1 commit
-
This patch converts the remaining occurences of raw return values to their
symbolic counterparts in ndo_start_xmit() functions that were missed by the
previous automatic conversion.Additionally code that assumed the symbolic value of NETDEV_TX_OK to be zero
is changed to explicitly use NETDEV_TX_OK.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller
20 Jun, 2009
6 commits
-
Remove Lindent changes as a TODO item in the wlan-ng directory of staging tree.
Signed-off-by: Mithlesh Thukral
Signed-off-by: Greg Kroah-Hartman -
Lindent script cleanups in wlan-ng driver in the staging tree.
This is a item in the TODO list.Signed-off-by: Mithlesh Thukral
Signed-off-by: Greg Kroah-Hartman -
The expression !(ext->alg & IW_ENCODE_ALG_WEP) appears to be incorrect,
because there are several possible values for ext->alg that give 1 when
bit-anded with IW_ENCODE_ALG_WEP. Therefore Richard Kennedy suggested to
rewrite the code with !=Added \n at the end of the debug string as well.
Signed-off-by: Julia Lawall
Cc: Jiri Slaby
Signed-off-by: Greg Kroah-Hartman -
Change uses of KERN_DEBUG over to pr_debug to match original driver
where messages are only needed during driver development.Signed-off-by: Karl Relton
Signed-off-by: Greg Kroah-Hartman -
Move prism2 firmware loading from userspace into driver, using linux
request_firmware(). Firmware is now loaded (if available) on device
probing, before it is registered as a netdevice and advertised to userspace.Signed-off-by: Karl Relton
Signed-off-by: Greg Kroah-Hartman -
Remove unused #include 's.
Signed-off-by: Huang Weiyi
Signed-off-by: Greg Kroah-Hartman
15 Jun, 2009
1 commit
-
Conflicts:
Documentation/feature-removal-schedule.txt
drivers/scsi/fcoe/fcoe.c
net/core/drop_monitor.c
net/core/net-traces.c
13 Jun, 2009
2 commits
-
Convert magic values 1 and -1 to NETDEV_TX_BUSY and NETDEV_TX_LOCKED respectively.
0 (NETDEV_TX_OK) is not changed to keep the noise down, except in very few cases
where its in direct proximity to one of the other values.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
fix ETIMEOUT -> ETIMEDOUT typos
Signed-off-by: Jean Delvare
Signed-off-by: Jiri Kosina
18 Apr, 2009
1 commit
-
Signed-off-by: Alexander Beregalov
Acked-by: David S. Miller
Signed-off-by: Greg Kroah-Hartman
04 Apr, 2009
20 commits
-
The Linux wireless developers don't want to hear anything about the
staging wireless drivers, for a wide range of miopic reasons.The following patch, based on a patch from Johannes Berg, tries to
document this issue a bit better.Cc: Johannes Berg
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Stoyan Gaydarov
Signed-off-by: Greg Kroah-Hartman -
Add a mutex to block ioctls before the card is fully initialised and
only allow one ioctl at a time.
This stops udev trying to load the firmware before to card is fully up.patch ported from wlan-ng-devel
Karl Relton spotted that this was
missing from the staging version,
http://lists.linux-wlan.com/pipermail/linux-wlan-devel/2009-February/003890.htmlSigned-off-by: Richard Kennedy
Cc: Karl Relton
Signed-off-by: Greg Kroah-Hartman -
Replace hfa384x2host_16(), hfa384x2host_32(), host2hfa384x_16()
and host2hfa384x_32() with standard byteorder macros.Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Moritz Muehlenhoff
Signed-off-by: Greg Kroah-Hartman