summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng
Commit message (Collapse)AuthorAgeFilesLines
...
* | staging: wlan-ng: coding style problem fixModestas Stankus2014-08-021-1/+0Star
| | | | | | | | | | | | | | | | | | | | WARNING: break is not useful after a goto or return 201: FILE: drivers/staging/wlan-ng/p80211conv.c:201: + return 1; + break; Signed-off-by: Modestas Stankus <stankus.modestas@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: wlan-ng: fixing coding style problemsModestas Stankus2014-08-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | WARNING: Unnecessary space before function pointer arguments + int (*func) (struct mibrec *mib, WARNING: Missing a blank line after declarations + hfa384x_WPAData_t wpa; + if (isget) { Signed-off-by: Modestas Stankus <stankus.modestas@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: wlan-ng/prism2fw.c: Add blank line after declarationsMatt Kurz2014-07-091-0/+2
| | | | | | | | | | | | | | Fix checkpatch.pl warnings due to missing blank line after declarations Signed-off-by: Matt Kurz <matt@ninezulu.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: wlan-ng: Use net_device_stats from struct net_deviceTobias Klauser2014-07-094-44/+17Star
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using an own copy of struct net_device_stats in struct wlandevice, use stats from struct net_device. Also remove the thus unnecessary .ndo_get_stats function, as it would now just return netdev->stats, which is the default in dev_get_stats(). Furthermore, convert prefix increment of stats counters to the more common postfix increment idiom. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: wlan-ng/hfa384x_usb.c: add blank line after declarationsCheng-Wei Lee2014-06-291-0/+1
| | | | | | | | | | | | | | | | This patch fixes the following checkpatch.pl issues in hfa384x_usb.c: WARNING: Missing a blank line after declarations Signed-off-by: Quentin Lee <lee.rhapsody@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | wlan-ng/prism2sta:checkpatch: Insert blank linesJohannes Stadlinger2014-06-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch inserts blank lines after declarations to avoid checkpatch warnings. After our fixes in 'wlan-ng/prism2sta' there is still a checkpatch warning about prefering 'ether_addr_copy' instead of 'memcpy' remaining. Signed-off-by: Johannes Stadlinger <Johannes.Stadlinger@fau.de> Signed-off-by: Maximilian Eschenbacher <maximilian@eschenbacher.email> CC: linux-kernel@i4.cs.fau.de Reviewed-by: Josh Triplett <josh@joshtriplett.org> CC: Tugce Sirin <ztugcesirin@gmail.com> CC: Himangi Saraogi <himangi774@gmail.com> CC: Paul Gortmaker <paul.gortmaker@windriver.com> CC: Vitaly Osipov <vitaly.osipov@gmail.com> CC: Neil Armstrong <superna9999@gmail.com> CC: devel@driverdev.osuosl.org CC: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | wlan-ng/prism2sta:checkpatch: Fix string splitJohannes Stadlinger2014-06-201-2/+1Star
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes a warning of checkpatch about string splitting. Signed-off-by: Johannes Stadlinger <Johannes.Stadlinger@fau.de> Signed-off-by: Maximilian Eschenbacher <maximilian@eschenbacher.email> CC: linux-kernel@i4.cs.fau.de CC: Tugce Sirin <ztugcesirin@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> CC: Vitaly Osipov <vitaly.osipov@gmail.com> CC: Neil Armstrong <superna9999@gmail.com> CC: Paul Gortmaker <paul.gortmaker@windriver.com> CC: devel@driverdev.osuosl.org CC: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | wlan-ng/prism2mib:checkpatch: Fix string splitJohannes Stadlinger2014-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes a warning of checkpatch about string splitting. Signed-off-by: Johannes Stadlinger <Johannes.Stadlinger@fau.de> Signed-off-by: Maximilian Eschenbacher <maximilian@eschenbacher.email> CC: linux-kernel@i4.cs.fau.de Reviewed-by: Josh Triplett <josh@joshtriplett.org> CC: Vitaly Osipov <vitaly.osipov@gmail.com> CC: Himangi Saraogi <himangi774@gmail.com> CC: devel@driverdev.osuosl.org CC: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | wlan-ng/prism2mgmt:checkpatch: Insert blank lineJohannes Stadlinger2014-06-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch inserts a blank line after a declaration to avoid checkpatch warning. Signed-off-by: Johannes Stadlinger <Johannes.Stadlinger@fau.de> Signed-off-by: Maximilian Eschenbacher <maximilian@eschenbacher.email> CC: linux-kernel@i4.cs.fau.de Meh-by: Josh Triplett <josh@joshtriplett.org> CC: Himangi Saraogi <himangi774@gmail.com> CC: Vitaly Osipov <vitaly.osipov@gmail.com> CC: devel@driverdev.osuosl.org CC: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | wlan-ng/prism2mgmt:checkpatch: Fix string splitJohannes Stadlinger2014-06-201-16/+10Star
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes all warnings of checkpatch about string splitting. Signed-off-by: Johannes Stadlinger <Johannes.Stadlinger@fau.de> Signed-off-by: Maximilian Eschenbacher <maximilian@eschenbacher.email> CC: linux-kernel@i4.cs.fau.de CC: Himangi Saraogi <himangi774@gmail.com> CC: Vitaly Osipov <vitaly.osipov@gmail.com> CC: devel@driverdev.osuosl.org CC: linux-kernel@vger.kernel.org Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | wlan-ng/prism2mgmt:checkpatch: Fix long linesJohannes Stadlinger2014-06-201-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes all warnings of checkpatch about lines over 80 characters. Signed-off-by: Johannes Stadlinger <Johannes.Stadlinger@fau.de> Signed-off-by: Maximilian Eschenbacher <maximilian@eschenbacher.email> CC: linux-kernel@i4.cs.fau.de CC: Himangi Saraogi <himangi774@gmail.com> CC: Vitaly Osipov <vitaly.osipov@gmail.com> CC: devel@driverdev.osuosl.org CC: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: wlan-ng: cfg80211.c: Fix sparse warningsTair Rzayev2014-06-191-0/+2
|/ | | | | | | Include necessary header files to avoid "should be static" sparse warning Signed-off-by: Tair Rzayev <tair.rzayev@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds2014-06-121-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull networking updates from David Miller: 1) Seccomp BPF filters can now be JIT'd, from Alexei Starovoitov. 2) Multiqueue support in xen-netback and xen-netfront, from Andrew J Benniston. 3) Allow tweaking of aggregation settings in cdc_ncm driver, from Bjørn Mork. 4) BPF now has a "random" opcode, from Chema Gonzalez. 5) Add more BPF documentation and improve test framework, from Daniel Borkmann. 6) Support TCP fastopen over ipv6, from Daniel Lee. 7) Add software TSO helper functions and use them to support software TSO in mvneta and mv643xx_eth drivers. From Ezequiel Garcia. 8) Support software TSO in fec driver too, from Nimrod Andy. 9) Add Broadcom SYSTEMPORT driver, from Florian Fainelli. 10) Handle broadcasts more gracefully over macvlan when there are large numbers of interfaces configured, from Herbert Xu. 11) Allow more control over fwmark used for non-socket based responses, from Lorenzo Colitti. 12) Do TCP congestion window limiting based upon measurements, from Neal Cardwell. 13) Support busy polling in SCTP, from Neal Horman. 14) Allow RSS key to be configured via ethtool, from Venkata Duvvuru. 15) Bridge promisc mode handling improvements from Vlad Yasevich. 16) Don't use inetpeer entries to implement ID generation any more, it performs poorly, from Eric Dumazet. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1522 commits) rtnetlink: fix userspace API breakage for iproute2 < v3.9.0 tcp: fixing TLP's FIN recovery net: fec: Add software TSO support net: fec: Add Scatter/gather support net: fec: Increase buffer descriptor entry number net: fec: Factorize feature setting net: fec: Enable IP header hardware checksum net: fec: Factorize the .xmit transmit function bridge: fix compile error when compiling without IPv6 support bridge: fix smatch warning / potential null pointer dereference via-rhine: fix full-duplex with autoneg disable bnx2x: Enlarge the dorq threshold for VFs bnx2x: Check for UNDI in uncommon branch bnx2x: Fix 1G-baseT link bnx2x: Fix link for KR with swapped polarity lane sctp: Fix sk_ack_backlog wrap-around problem net/core: Add VF link state control policy net/fsl: xgmac_mdio is dependent on OF_MDIO net/fsl: Make xgmac_mdio read error message useful net_sched: drr: warn when qdisc is not work conserving ...
| * cfg80211: constify more pointers in the cfg80211 APIJohannes Berg2014-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | This also propagates through the drivers. The orinoco driver uses the cfg80211 API structs for internal bookkeeping, and so needs a (void *) cast that removes the const - but that's OK because it allocates those pointers. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
| * cfg80211: constify MAC addresses in cfg80211 opsJohannes Berg2014-05-191-1/+1
| | | | | | | | | | | | This propagates through all the drivers and mac80211. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* | drivers/staging: Remove useless return variablesPeter Senna Tschudin2014-05-262-4/+2Star
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch remove variables that are initialized with a constant, are never updated, and are only used as parameter of return. Return the constant instead of using a variable. Verified by compilation only. The coccinelle script that find and fixes this issue is: // <smpl> @@ type T; constant C; identifier ret; @@ - T ret = C; ... when != ret when strict return - ret + C ; // </smpl> Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: wlan-ng: use netdev_() instead of printk()Vitaly Osipov2014-05-236-139/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | Replaced all uses of printk() in wlan-ng with netdev_err / _warn where a netdev exists. If a few cases where a netdev does not yet exist, dev_ or pr_ was used. Checkpatch complains about lines over 80 chars or split string constants - the messages are just too long, keeping it completely happy would make the code less readable. Signed-off-by: Vitaly Osipov <vitaly.osipov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging/wlan-ng: log with netdev_xxx and dev_xxxDenis Pithon2014-05-231-23/+22Star
| | | | | | | | | | | | | | | | Wherever possible, replaced printk() and pr_xxx() calls with netdev_xxx() / dev_xxx() calls; used pr_xxx() otherwise. Signed-off-by: Denis Pithon <denis.pithon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging/wlan-ng: rearrange commentsDenis Pithon2014-05-231-3/+3
| | | | | | | | | | | | | | Gathered together comments in front of multicast filtering block. Signed-off-by: Denis Pithon <denis.pithon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging/wlan-ng: multicast address checkingDenis Pithon2014-05-231-1/+1
| | | | | | | | | | | | | | Used is_multicast_ether_addr() to perform the checking. Signed-off-by: Denis Pithon <denis.pithon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging/wlan-ng: compare using ether_addr_equal_unalignedDenis Pithon2014-05-231-1/+2
| | | | | | | | | | | | | | | | Replaced generic memcmp() with dedicated ether_addr_equal_unaligned() call. I did not find any clue of u16 alignment for both addresses. Signed-off-by: Denis Pithon <denis.pithon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging/wlan-ng: add prefix to function nameDenis Pithon2014-05-231-3/+3
| | | | | | | | | | | | | | Renamed convert_frame_to_ether() to p80211_convert_to_ether(). Signed-off-by: Denis Pithon <denis.pithon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging/wlan-ng: code refactoringDenis Pithon2014-05-151-31/+43
| | | | | | | | | | | | | | | | Extract new static function from p80211netdev_rx_bh() to fix coding style issue (too many leading tabs). Signed-off-by: Denis Pithon <denis.pithon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging/wlan-ng: remove function declarationDenis Pithon2014-05-151-3/+0Star
| | | | | | | | | | | | | | | | Removed useless function prototype: static function p80211netdev_rx_bh() is defined before being used. Signed-off-by: Denis Pithon <denis.pithon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging/wlan-ng: update function header commentDenis Pithon2014-05-151-13/+5Star
| | | | | | | | | | | | | | | | Header comment of p80211netdev_rx_bh() does not match function prototype. Fixed. Signed-off-by: Denis Pithon <denis.pithon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: wlan-ng: fix bad symbol declarationNeil Armstrong2014-05-152-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With sparse, the following error appears : CHECK drivers/staging/wlan-ng/p80211netdev.c drivers/staging/wlan-ng/cfg80211.c:710:6: warning: symbol 'prism2_connect_result' was not declared. Should it be static? drivers/staging/wlan-ng/cfg80211.c:719:6: warning: symbol 'prism2_disconnected' was not declared. Should it be static? drivers/staging/wlan-ng/cfg80211.c:725:6: warning: symbol 'prism2_roamed' was not declared. Should it be static? Move functions declaration to coherent internal header file. Signed-off-by: Neil 'Superna' Armstrong <superna9999@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | driver: staging: wlan-ng: Removed unnecessary spaces after cast from ↵Sherif Shehab Aldin2014-05-151-10/+10
| | | | | | | | | | | | | | | | | | hfa384x_usb.c Fixed: No space is necessary after a cast Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | driver: staging: wlan-ng: Removed #if 0 lines from hfa384x_usb.cSherif Shehab Aldin2014-05-151-6/+0Star
| | | | | | | | | | | | | | Removed lines that were ignored by #if 0 Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | driver: staging: wlan-ng: Removed multiple assignmentsSherif Shehab Aldin2014-05-151-1/+2
| | | | | | | | | | | | | | Removed multiple assignments from hfa384x_usb.c Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | driver: staging: wlan-ng: Fixed white spaces issuesSherif Shehab Aldin2014-05-151-8/+4Star
| | | | | | | | | | | | | | | | | | In hfa384x_usb.c: Moved Logical continuations to the correct lines Removed unnecessary blank lines Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | driver: staging: wlan-ng: Fixed Alignment to match open parenthesisSherif Shehab Aldin2014-05-151-58/+63
| | | | | | | | | | | | | | Fixed Alignment to match open parenthesis in hfa384x_usb.c Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | driver: staging: wlan-ng: Removed Unnecessary space after function pointer nameSherif Shehab Aldin2014-05-151-1/+1
| | | | | | | | | | | | | | Removed Unnecessary space after function pointer name Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | driver: staging: wlan-ng: Setting character pointers as constSherif Shehab Aldin2014-05-151-1/+1
| | | | | | | | | | | | | | | | changed declaration of ctlx_str to: static const char * const ctlx_str[] Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | driver: staging: wlan-ng: switched to pr_warnSherif Shehab Aldin2014-05-151-4/+3Star
| | | | | | | | | | | | | | changed printk(KERN_WARNING .. to pr_warn Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | driver: staging: wlan-ng: Removed unnecessary typedefs from hfa384x_usb.cSherif Shehab Aldin2014-05-151-8/+6Star
| | | | | | | | | | | | | | Removed unnecessary typedefs from hfa384x_usb.c Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | driver: staging: wlan-ng: Fixed Breaking long lines and strings style ruleSherif Shehab Aldin2014-05-151-24/+23Star
| | | | | | | | | | | | | | Fixed coding style rule "Breaking long lines and strings" for hfa384x_usb.c Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging/wlan-ng: fix small coding style issuesDenis Pithon2014-04-261-2/+4
| | | | | | | | | | | | | | | | Delete some unneeded blank lines and add few ones to make checkpatch.pl happy. Signed-off-by: Denis Pithon <denis.pithon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging/wlan-ng: remove obsolete commentsDenis Pithon2014-04-261-40/+0Star
| | | | | | | | | | | | | | | | prism2sta_probe_usb() and prism2sta_disconnect_usb() header comments are erroneous and useless. Removed. Signed-off-by: Denis Pithon <denis.pithon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging/wlan-ng: improve readability of usb_prism_tbl[]Denis Pithon2014-04-261-71/+47Star
|/ | | | | | | Minor changes to nicely line up device entries. Signed-off-by: Denis Pithon <denis.pithon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: wlan-ng: Fix smatch warning potential null referenceTugce Sirin2014-03-191-1/+1
| | | | | | | | This patch fixes potential null dereference 'wlandev' in wlan-ng driver. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Tugce Sirin <ztugcesirin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: wlan-ng: Fix quoted string split across linesTugce Sirin2014-03-181-8/+4Star
| | | | | | | | This patch fixes checkpatch.pl warning quoted string split across lines in wlan-ng driver. Signed-off-by: Tugce Sirin <ztugcesirin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: wlan-ng: Fix prefer netdev_info to printkTugce Sirin2014-03-181-21/+21
| | | | | | | | This patch fixes checkpatch.pl error prefer netdev_info to printk in wlan-ng driver. Signed-off-by: Tugce Sirin <ztugcesirin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: wlan-ng: Fix prefer netdev_err to printkTugce Sirin2014-03-181-23/+23
| | | | | | | | This patch fixes checkpatch.pl error prefer netdev_error to printk in wlan-ng driver. Signed-off-by: Tugce Sirin <ztugcesirin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: wlan-ng: Fix sparse non-static symbol warningTugce Sirin2014-03-171-2/+2
| | | | | | | | Fix sparse non-static symbol warning in wlan-ng driver. Signed-off-by: Tugce Sirin <ztugcesirin@gmail.com> Acked-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
* staging:wlan-ng:Fix sparse warningHimangi Saraogi2014-03-131-3/+1Star
| | | | | | | | This patch fixes the sparse warning - drivers/staging/wlan-ng/p80211netdev.c:289:38: warning: cast to restricted __le16 by eliminating the variable fc as it is not required. Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
* Staging: wlan-ng: Fix do not add new typedefs in p80211mgmt.hEbru Akagunduz2014-03-111-85/+85
| | | | | | | Fix checkpatch.pl issues with do not add new typedefs in p80211mgmt.h Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
* Staging:wlan-ng: no space before tabs in p80211mgmt.hEbru Akagunduz2014-03-071-1/+1
| | | | | | | | Fix checkpatch.pl issues with no space before tabs in p80211mgmt.h Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging:wlan-ng:Fix sparse warning cast to restricted __le16Himangi Saraogi2014-03-071-2/+2
| | | | | | | | | | | | | This patch fixes the following sparse warnings: drivers/staging/wlan-ng/hfa384x_usb.c:3582:14: warning: cast to restricted __le16 drivers/staging/wlan-ng/hfa384x_usb.c:3584:19: warning: cast to restricted __le16 by changing the annotations in the struct declaration. Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: wlan-ng: Fix Sparse warning should it be static?Tugce Sirin2014-03-071-1/+1
| | | | | | | | This patch fixes following Sparse warning should it be static? in staging/wlan-ng. Signed-off-by: Tugce Sirin <ztugcesirin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: wlan-ng: replace function ieee80211_dsss_chan_to_freq()Zhao, Gang2014-02-181-2/+5
| | | | | | | | | | | | | | | | | Replace ieee80211_dsss_chan_to_freq() with more generic ieee80211_channel_to_frequency(), and add a variable to deal with 80 characters problem. File cfg80211.c is included by p80211netdev.c, p80211netdev.c includes <net/cfg80211.h>, both ieee80211_channel_to_frequency() and IEEE80211_BAND_2GHZ is defined / declared in <net/cfg80211.h>. So this change is safe. This change is a preparation for the removal of function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan}. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>