linux-2.6
15 years agoStaging: wlan-ng: block ioctls until card fully initialised
Richard Kennedy [Fri, 20 Feb 2009 12:09:12 +0000 (12:09 +0000)] 
Staging: wlan-ng: block ioctls until card fully initialised

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 <karllinuxtest.relton@ntlworld.com> spotted that this was
missing from the staging version,
http://lists.linux-wlan.com/pipermail/linux-wlan-devel/2009-February/003890.html

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Cc: Karl Relton <karllinuxtest.relton@ntlworld.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Replace local byteorder macros
Moritz Muehlenhoff [Wed, 18 Feb 2009 18:50:07 +0000 (19:50 +0100)] 
Staging: wlan-ng: Replace local byteorder macros

Replace hfa384x2host_16(), hfa384x2host_32(), host2hfa384x_16()
and host2hfa384x_32() with standard byteorder macros.

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove the now empty wlan_compat.h
Moritz Muehlenhoff [Mon, 9 Feb 2009 18:33:44 +0000 (19:33 +0100)] 
Staging: wlan-ng: Remove the now empty wlan_compat.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead code from p80211netdev.c
Moritz Muehlenhoff [Mon, 9 Feb 2009 18:33:43 +0000 (19:33 +0100)] 
Staging: wlan-ng: Remove dead code from p80211netdev.c

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove unnecessary checks for NULL before calling kfree()
Moritz Muehlenhoff [Mon, 9 Feb 2009 18:33:42 +0000 (19:33 +0100)] 
Staging: wlan-ng: Remove unnecessary checks for NULL before calling kfree()

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove more dead code from hfa384x_usb.c
Moritz Muehlenhoff [Mon, 9 Feb 2009 18:33:41 +0000 (19:33 +0100)] 
Staging: wlan-ng: Remove more dead code from hfa384x_usb.c

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead code from prism2mib.c
Moritz Muehlenhoff [Mon, 9 Feb 2009 18:33:40 +0000 (19:33 +0100)] 
Staging: wlan-ng: Remove dead code from prism2mib.c

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: prism2mgmt.c: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:48 +0000 (02:20 +0100)] 
Staging: wlan-ng: prism2mgmt.c: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: hfa384x_usb.c: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:21:00 +0000 (02:21 +0100)] 
Staging: wlan-ng: hfa384x_usb.c: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211netdev.c: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:21:01 +0000 (02:21 +0100)] 
Staging: wlan-ng: p80211netdev.c: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: prism2sta.c: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:21:04 +0000 (02:21 +0100)] 
Staging: wlan-ng: prism2sta.c: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: prism2usb.c: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:21:05 +0000 (02:21 +0100)] 
Staging: wlan-ng: prism2usb.c: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: prism2mib.c: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:21:03 +0000 (02:21 +0100)] 
Staging: wlan-ng: prism2mib.c: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211mgmt.h: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:21:02 +0000 (02:21 +0100)] 
Staging: wlan-ng: p80211mgmt.h: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211netdev.h: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:59 +0000 (02:20 +0100)] 
Staging: wlan-ng: p80211netdev.h: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211msg.h: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:58 +0000 (02:20 +0100)] 
Staging: wlan-ng: p80211msg.h: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211types.h: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:57 +0000 (02:20 +0100)] 
Staging: wlan-ng: p80211types.h: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211conv.c: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:56 +0000 (02:20 +0100)] 
Staging: wlan-ng: p80211conv.c: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211conv.h: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:55 +0000 (02:20 +0100)] 
Staging: wlan-ng: p80211conv.h: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211hdr.h: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:54 +0000 (02:20 +0100)] 
Staging: wlan-ng: p80211hdr.h: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211metastruct.h: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:53 +0000 (02:20 +0100)] 
Staging: wlan-ng: p80211metastruct.h: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211ioctl.h: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:52 +0000 (02:20 +0100)] 
Staging: wlan-ng: p80211ioctl.h: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211meta.h: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:51 +0000 (02:20 +0100)] 
Staging: wlan-ng: p80211meta.h: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211wext.c: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:50 +0000 (02:20 +0100)] 
Staging: wlan-ng: p80211wext.c: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: hfa384x.h: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:49 +0000 (02:20 +0100)] 
Staging: wlan-ng: hfa384x.h: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: prism2mgmt.h: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:47 +0000 (02:20 +0100)] 
Staging: wlan-ng: prism2mgmt.h: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211req.c: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:46 +0000 (02:20 +0100)] 
Staging: wlan-ng: p80211req.c: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: p80211req.h: Coding style cleanups
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:20:45 +0000 (02:20 +0100)] 
Staging: wlan-ng: p80211req.h: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Replace WLAN_LOG_DEBUG() with printk(KERN_DEBUG
Moritz Muehlenhoff [Sun, 8 Feb 2009 01:01:00 +0000 (02:01 +0100)] 
Staging: wlan-ng: Replace WLAN_LOG_DEBUG() with printk(KERN_DEBUG

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Move wlan_mkprintstr() and wlan_hexchar() macros into prism2sta.c
Moritz Muehlenhoff [Sun, 1 Feb 2009 12:39:16 +0000 (13:39 +0100)] 
Staging: wlan-ng: Move wlan_mkprintstr() and wlan_hexchar() macros into prism2sta.c

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Move netdevice_t typedef into p80211netdev.h
Moritz Muehlenhoff [Thu, 5 Feb 2009 22:55:56 +0000 (23:55 +0100)] 
Staging: wlan-ng: Move netdevice_t typedef into p80211netdev.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove WLAN_INCLUDE_DEBUG and some related, mostly unused
Moritz Muehlenhoff [Thu, 5 Feb 2009 22:55:54 +0000 (23:55 +0100)] 
Staging: wlan-ng: Remove WLAN_INCLUDE_DEBUG and some related, mostly unused

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove more dead/unused code from hfa384x.h
Moritz Muehlenhoff [Sun, 1 Feb 2009 12:29:08 +0000 (13:29 +0100)] 
Staging: wlan-ng: Remove more dead/unused code from hfa384x.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead/unused code from hfa384x.h and p80211metamsg.h
Moritz Muehlenhoff [Sun, 1 Feb 2009 12:29:07 +0000 (13:29 +0100)] 
Staging: wlan-ng: Remove dead/unused code from hfa384x.h and p80211metamsg.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead/unused code from p80211ioctl.h
Moritz Muehlenhoff [Sun, 1 Feb 2009 12:29:06 +0000 (13:29 +0100)] 
Staging: wlan-ng: Remove dead/unused code from p80211ioctl.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead/unused code from p80211metadef.h
Moritz Muehlenhoff [Sun, 1 Feb 2009 12:29:05 +0000 (13:29 +0100)] 
Staging: wlan-ng: Remove dead/unused code from p80211metadef.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove unused header file p80211metamib.h
Moritz Muehlenhoff [Sun, 1 Feb 2009 12:29:04 +0000 (13:29 +0100)] 
Staging: wlan-ng: Remove unused header file p80211metamib.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead code from hfa384x_usb.c
Moritz Muehlenhoff [Sun, 1 Feb 2009 12:29:03 +0000 (13:29 +0100)] 
Staging: wlan-ng: Remove dead code from hfa384x_usb.c

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead code from prism2mgmt.c
Moritz Muehlenhoff [Sun, 1 Feb 2009 12:29:02 +0000 (13:29 +0100)] 
Staging: wlan-ng: Remove dead code from prism2mgmt.c

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead/unused code from prism2sta.c
Moritz Muehlenhoff [Sun, 1 Feb 2009 12:29:01 +0000 (13:29 +0100)] 
Staging: wlan-ng: Remove dead/unused code from prism2sta.c

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove more dead/unused code from p80211types.h
Moritz Muehlenhoff [Sun, 1 Feb 2009 12:29:00 +0000 (13:29 +0100)] 
Staging: wlan-ng: Remove more dead/unused code from p80211types.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Replace SSWAP() with the generic swap(). Also remove a
Moritz Muehlenhoff [Sun, 1 Feb 2009 12:28:59 +0000 (13:28 +0100)] 
Staging: wlan-ng: Replace SSWAP() with the generic swap(). Also remove a

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead/unused code from p80211req.c
Moritz Muehlenhoff [Sun, 1 Feb 2009 12:28:58 +0000 (13:28 +0100)] 
Staging: wlan-ng: Remove dead/unused code from p80211req.c

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead/unused code from p80211conv.h
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:55:10 +0000 (21:55 +0100)] 
Staging: wlan-ng: Remove dead/unused code from p80211conv.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead/unused code from p80211conv.c
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:55:09 +0000 (21:55 +0100)] 
Staging: wlan-ng: Remove dead/unused code from p80211conv.c

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead/unused code from p80211netdev.h
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:55:08 +0000 (21:55 +0100)] 
Staging: wlan-ng: Remove dead/unused code from p80211netdev.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead/unused code from p80211msg.h
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:55:07 +0000 (21:55 +0100)] 
Staging: wlan-ng: Remove dead/unused code from p80211msg.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead/unused code from hfa384x.h
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:55:06 +0000 (21:55 +0100)] 
Staging: wlan-ng: Remove dead/unused code from hfa384x.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead/unused code from p80211meta.h
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:55:05 +0000 (21:55 +0100)] 
Staging: wlan-ng: Remove dead/unused code from p80211meta.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead/unused code from p80211hdr.h
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:55:04 +0000 (21:55 +0100)] 
Staging: wlan-ng: Remove dead/unused code from p80211hdr.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove dead/unused code from p80211types.h
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:55:03 +0000 (21:55 +0100)] 
Staging: wlan-ng: Remove dead/unused code from p80211types.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Replace wlan_isprint() with generic isprint()
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:55:02 +0000 (21:55 +0100)] 
Staging: wlan-ng: Replace wlan_isprint() with generic isprint()

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Replace WLAN_LOG_WARNING() with printk()
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:55:01 +0000 (21:55 +0100)] 
Staging: wlan-ng: Replace WLAN_LOG_WARNING() with printk()

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Replace WLAN_LOG_ERROR() with printk()
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:55:00 +0000 (21:55 +0100)] 
Staging: wlan-ng: Replace WLAN_LOG_ERROR() with printk()

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Replace WLAN_LOG_NOTICE with printk()
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:54:59 +0000 (21:54 +0100)] 
Staging: wlan-ng: Replace WLAN_LOG_NOTICE with printk()

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove wlan_max()/wlan_min()
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:54:58 +0000 (21:54 +0100)] 
Staging: wlan-ng: Remove wlan_max()/wlan_min()

Replace wlan_min() with the generic min_t(), remove unused wlan_max().

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove WLAN_LOG_INFO
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:54:57 +0000 (21:54 +0100)] 
Staging: wlan-ng: Remove WLAN_LOG_INFO

Replace WLAN_LOG_INFO with printk() and remove it.

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Move URB_ASYNC_UNLINK and USB_QUEUE_BULK out of wlan_compat.h
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:54:56 +0000 (21:54 +0100)] 
Staging: wlan-ng: Move URB_ASYNC_UNLINK and USB_QUEUE_BULK out of wlan_compat.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Replace BITx with the generic BIT(x)
Moritz Muehlenhoff [Sun, 25 Jan 2009 20:54:55 +0000 (21:54 +0100)] 
Staging: wlan-ng: Replace BITx with the generic BIT(x)

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Use generic byteorder macros
Moritz Muehlenhoff [Wed, 21 Jan 2009 21:00:45 +0000 (22:00 +0100)] 
Staging: wlan-ng: Use generic byteorder macros

This patch removes the ieee2host16(), ieee2host32(), host2ieee16()
and host2ieee32() macros and replaces them with the generic ones.

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove DBFENTER/DBFEXIT macros
Moritz Muehlenhoff [Wed, 21 Jan 2009 21:00:44 +0000 (22:00 +0100)] 
Staging: wlan-ng: Remove DBFENTER/DBFEXIT macros

Remove the ugly DBFENTER/DBFEXIT macros, which are only inserted to add "<---" and
"--->" at the function start/end at higher debug levels and which make the code
a lot less readable.

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Cleanup wlan_compat.h more
Moritz Muehlenhoff [Wed, 21 Jan 2009 21:00:43 +0000 (22:00 +0100)] 
Staging: wlan-ng: Cleanup wlan_compat.h more

Move version identifier into p80211netdev.h and rename it to 0.3.0-staging
to differentiate from the out-of-tree version.

Also remove the unused wlan_ethconv declaration.

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove stray comments in header files
Moritz Muehlenhoff [Wed, 21 Jan 2009 21:00:42 +0000 (22:00 +0100)] 
Staging: wlan-ng: Remove stray comments in header files

The header files contain a few comments, which describe the
function of the header element. Remove them where not needed.

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove use of WLAN_ADDR_LEN
Moritz Muehlenhoff [Wed, 21 Jan 2009 21:00:41 +0000 (22:00 +0100)] 
Staging: wlan-ng: Remove use of WLAN_ADDR_LEN

Replace the driver local WLAN_ADDR_LEN constant through the kernel-wide ETH_ALEN definiton.

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: wlan-ng: Remove use of __WLAN_ATTRIB_PACK__
Moritz Muehlenhoff [Wed, 21 Jan 2009 21:00:40 +0000 (22:00 +0100)] 
Staging: wlan-ng: Remove use of __WLAN_ATTRIB_PACK__

Replace all ocurrances of the __WLAN_ATTRIB_PACK__ from wlan_compat.h
by __attribute__((packed)) and remove it afterwards.

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: w35und: remove gl_80211.h header
Pekka Enberg [Mon, 2 Mar 2009 10:30:16 +0000 (12:30 +0200)] 
Staging: w35und: remove gl_80211.h header

The gl_80211.h header file contains only two definitions that are actually
used. Move them to mds_s.h and remove the otherwise unused file.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: w35und: remove ds_tkip.h header
Pekka Enberg [Mon, 2 Mar 2009 10:19:57 +0000 (12:19 +0200)] 
Staging: w35und: remove ds_tkip.h header

The ds_tkip.h header file contains declarations of a function that is not
actually defined anywhere.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@ucw.cz>
15 years agoStaging: w35und: remove unused bssdscpt.h header
Pekka Enberg [Mon, 2 Mar 2009 10:19:56 +0000 (12:19 +0200)] 
Staging: w35und: remove unused bssdscpt.h header

The bssdscpt.h header file contains definitions that are not actually used for
anything.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: w35und: Remove MTO_FUNC_INPUT macro obfuscation
Pekka Enberg [Mon, 12 Jan 2009 16:03:39 +0000 (18:03 +0200)] 
Staging: w35und: Remove MTO_FUNC_INPUT macro obfuscation

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: w35und: remove hw_data_t typedef
Pekka Enberg [Mon, 12 Jan 2009 16:02:47 +0000 (18:02 +0200)] 
Staging: w35und: remove hw_data_t typedef

As this typedef is used everywhere in the driver, remove it in a separate
patch.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: w35und: typedef removal
Pekka Enberg [Thu, 8 Jan 2009 16:32:14 +0000 (18:32 +0200)] 
Staging: w35und: typedef removal

This patch removes some typedefs from the driver code. I also removed some
unused structs I spotted while removing the typedefs.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: w35und: kill WBDEBUG and remove common.h header file
Pekka Enberg [Thu, 8 Jan 2009 09:31:59 +0000 (11:31 +0200)] 
Staging: w35und: kill WBDEBUG and remove common.h header file

The only remaining thing in common.h header file is the WBDEBUG() macro which
is unconditionally defined as printk(). Kill the macro and remove the header
file.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: w35und: remove useless macro from common.h
Pekka Enberg [Thu, 8 Jan 2009 09:31:28 +0000 (11:31 +0200)] 
Staging: w35und: remove useless macro from common.h

The DebugUsbdStatusInformation macro doesn't do anything useful so remove the
definition and the two users of it from driver code.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: w35und: convert code to use ETH_ALEN
Pekka Enberg [Thu, 8 Jan 2009 09:56:53 +0000 (11:56 +0200)] 
Staging: w35und: convert code to use ETH_ALEN

As suggested by Harvey Harrison, convert driver to use ETH_ALEN and kill a
private macro from common.h that is used for the same thing.

Acked-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: w35und: unify mto.h and mto_f.h header files
Pekka Enberg [Wed, 7 Jan 2009 15:33:45 +0000 (17:33 +0200)] 
Staging: w35und: unify mto.h and mto_f.h header files

No need to keep function definitions separate from the rest so unify mto.h and
mto_f.h header files.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: w35und: remove crazy commented out includes
Pekka Enberg [Wed, 7 Jan 2009 15:33:18 +0000 (17:33 +0200)] 
Staging: w35und: remove crazy commented out includes

I have no idea why the driver would want to include OpenGL headers in the first
place but lets just remove the crazy includes.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: w35und: remove unnecessary os_common.h header file
Pekka Enberg [Wed, 7 Jan 2009 15:32:58 +0000 (17:32 +0200)] 
Staging: w35und: remove unnecessary os_common.h header file

Convert code to include sysdef.h directly and remove unnecessary os_common.h
header file.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: w35und: remove unused header files
Pekka Enberg [Wed, 7 Jan 2009 15:32:41 +0000 (17:32 +0200)] 
Staging: w35und: remove unused header files

The header files are not included anywhere so we can just remove them.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: asus_oled: do not use assignment in if condition
Andre Haupt [Mon, 19 Jan 2009 11:00:20 +0000 (12:00 +0100)] 
Staging: asus_oled: do not use assignment in if condition

This fixes some errors reported by checkpatch.pl

Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Cc: Jakub Schmidtke <sjakub@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: asus_oled: fix various checkpatch.pl issues regarding missing or obsolete...
Andre Haupt [Mon, 19 Jan 2009 11:00:19 +0000 (12:00 +0100)] 
Staging: asus_oled: fix various checkpatch.pl issues regarding missing or obsolete spaces

Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Cc: Jakub Schmidtke <sjakub@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: asus_oled: trailing statements should be on next line
Andre Haupt [Mon, 19 Jan 2009 11:00:18 +0000 (12:00 +0100)] 
Staging: asus_oled: trailing statements should be on next line

fix the following error reported by checkpatch.pl
ERROR: trailing statements should be on next line

Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Cc: Jakub Schmidtke <sjakub@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: asus_oled: do not initialise statics to 0 or NULL
Andre Haupt [Mon, 19 Jan 2009 11:00:17 +0000 (12:00 +0100)] 
Staging: asus_oled: do not initialise statics to 0 or NULL

fix the following error reported by checkpatch.pl
ERROR: do not initialise statics to 0 or NULL

Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Cc: Jakub Schmidtke <sjakub@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: asus_oled: fix sparse warnings about using plain integer as NULL pointer
Andre Haupt [Mon, 19 Jan 2009 11:00:16 +0000 (12:00 +0100)] 
Staging: asus_oled: fix sparse warnings about using plain integer as NULL pointer

Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Cc: Jakub Schmidtke <sjakub@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Add support to download the firmware using request_firmware()
Mithlesh Thukral [Fri, 20 Mar 2009 12:09:04 +0000 (17:39 +0530)] 
Staging: sxg: Add support to download the firmware using request_firmware()

Add support for downloading the firmware using kernel-builtin mechanism.
This will remove the need for the firmware files in the driver source code.

Signed-off-by: Christopher Harrer <charrer@alacritech.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Add watchdog timer for managing Link states for SXG driver
Mithlesh Thukral [Fri, 20 Mar 2009 12:07:32 +0000 (17:37 +0530)] 
Staging: sxg: Add watchdog timer for managing Link states for SXG driver

Add a watchdog timer to take care of link change notifications.
Link changes would now be handled asynchronously as they involve large delays.

Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Fix a warning dump emitted by rtnl_watchdog during LTP tests
Mithlesh Thukral [Fri, 20 Mar 2009 12:06:44 +0000 (17:36 +0530)] 
Staging: sxg: Fix a warning dump emitted by rtnl_watchdog during LTP tests

Fix a softlock warning message thrown up by the rtnl_timer.
This was observed during the LTP tests (interface up/down test)

Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Read the correct MAC address from the card for Rev B cards
Mithlesh Thukral [Fri, 20 Mar 2009 12:05:58 +0000 (17:35 +0530)] 
Staging: sxg: Read the correct MAC address from the card for Rev B cards

Read the correct MAC address from EEPROM/Flash.
Without this fix, all the interfaces were using the same MAC address.
This works on Rev B firmware.

Signed-off-by: Christopher Harrer <charrer@alacritech.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Fix interface bug not working after open is called second time.
Mithlesh Thukral [Fri, 20 Mar 2009 12:05:12 +0000 (17:35 +0530)] 
Staging: sxg: Fix interface bug not working after open is called second time.

Fix the problem of the interface not working after a sequence of up-down-up
events. The problem was observed only on systems where the card was using MSI-X
interrupts. On the second time open, the driver did not request MSI-X vector
but was trying to use normal interrupts.

Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Fix the module in Kconfig file for Sahara SXG driver
Mithlesh Thukral [Mon, 16 Mar 2009 12:34:14 +0000 (08:34 -0400)] 
Staging: sxg: Fix the module in Kconfig file for Sahara SXG driver

* Update the module name in Kconfig help section.
  This is a classic case of documentation keeping out of pace with
  development
  And this was overlooked by me ages ago when we had fixed the Makefile for
  sxg_ethtool to compile.

Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Cc: Christopher Harrer <charrer@alacritech.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Fix memory leak caused by double allocation of rings
Mithlesh Thukral [Tue, 24 Feb 2009 12:39:34 +0000 (18:09 +0530)] 
Staging: sxg: Fix memory leak caused by double allocation of rings

* The receive rings were getting allocated twice. Once at probe time
  and once at open time. This leaked huge amounts of memory.
  Fix this leak and now allocation is done only once.

Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Add checksum control option through ethtool interface
Mithlesh Thukral [Tue, 24 Feb 2009 12:37:59 +0000 (18:07 +0530)] 
Staging: sxg: Add checksum control option through ethtool interface

* This patch adds support for controling checksum feature using the ethtool
  interface.

Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Remove unused Rev A microcode files
Mithlesh Thukral [Wed, 18 Feb 2009 13:24:59 +0000 (18:54 +0530)] 
Staging: sxg: Remove unused Rev A microcode files

Remove the deprecated microcode which was for Rev A.
Now on the driver will use Rev B microcode only.

Signed-off-by: Michael Miles <mmiles@alacritech.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Add Rev B support in the Sahara SXG driver
Mithlesh Thukral [Wed, 18 Feb 2009 13:24:14 +0000 (18:54 +0530)] 
Staging: sxg: Add Rev B support in the Sahara SXG driver

This patch makes the Sahara SXG driver use Rev B firmware instead of Rev A.
The firmware version is 1.71

Signed-off-by: Michael Miles <mmiles@alacritech.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Add firmware files for Rev B card
Mithlesh Thukral [Wed, 18 Feb 2009 13:23:04 +0000 (18:53 +0530)] 
Staging: sxg: Add firmware files for Rev B card

This patch adds the new firmware files required by Rev B cards.

Signed-off-by: Michael Miles <mmiles@alacritech.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Fix memory leak in case of allocation failure
Mithlesh Thukral [Wed, 18 Feb 2009 13:22:18 +0000 (18:52 +0530)] 
Staging: sxg: Fix memory leak in case of allocation failure

* Fix a memory leak if allocation of skb fails in sxg_fill_descriptor_block.
  In sxg_fill_descriptor_block(), if allocation of skb failed in loop,
  we just came out shouting. This rollbacks all the successful operation
  before skb allocation fails and then returns.

Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Add Checksum Offload support for Sahara SXG driver
Mithlesh Thukral [Wed, 18 Feb 2009 13:21:29 +0000 (18:51 +0530)] 
Staging: sxg: Add Checksum Offload support for Sahara SXG driver

* This patch adds support for offloading checksum to hardware.
  IP checksum have been tested for IPv4 and IPv6.

Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: fix napi interface build
Randy Dunlap [Wed, 11 Feb 2009 21:22:56 +0000 (13:22 -0800)] 
Staging: sxg: fix napi interface build

Fix staging/sxg napi interface calls:

drivers/staging/sxg/sxg.c:1271: error: implicit declaration of function 'netif_rx_schedule_prep'
linux-next-20090209/drivers/staging/sxg/sxg.c:1272: error: implicit declaration of function '__netif_rx_schedule'
drivers/staging/sxg/sxg.c:1325: error: implicit declaration of function 'netif_rx_complete'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Mithlesh Thukral <mithlesh@linsyssoft.com>
Cc: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Cc: Christopher Harrer <charrer@alacritech.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Make SXG driver use MSI-X interrupts if possible
Mithlesh Thukral [Fri, 6 Feb 2009 14:02:28 +0000 (19:32 +0530)] 
Staging: sxg: Make SXG driver use MSI-X interrupts if possible

Make Sahara SXG driver use MSI-X interrupts instead of line based interrupts
if possible. In case of problems in getting MSI-X vectors or MSI-X not being
supported, driver will fall back to use previous line based interrupts.

Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Removed unnecessary checks while taking Transmit Locks
Mithlesh Thukral [Fri, 6 Feb 2009 14:01:40 +0000 (19:31 +0530)] 
Staging: sxg: Removed unnecessary checks while taking Transmit Locks

Fix the locking issue of locks in transmit code path.
There was an unnecessary check for interrupt context in transmit code path.
Removed that.

Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: Add Jumbo frames support to Sahara SXG Driver
Mithlesh Thukral [Fri, 6 Feb 2009 14:00:40 +0000 (19:30 +0530)] 
Staging: sxg: Add Jumbo frames support to Sahara SXG Driver

This patch adds Jumbo frame support to Sahara's SXG Driver.

Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>