31 Aug, 2014
2 commits
-
Using the nl80211 header.
Using enum changes
OP_MODE_ADHOC -> NL80211_IFTYPE_ADHOC
OP_MODE_AP -> NL80211_IFTYPE_AP
OP_MODE_INFRASTRUCTURE -> NL80211_IFTYPE_STATION
OP_MODE_UNKNOWN -> NL80211_IFTYPE_UNSPECIFIEDSigned-off-by: Malcolm Priestley
Signed-off-by: Greg Kroah-Hartman -
Using vnt_get_phy_field means the values are not in the
correct write order the lower word and the upper word need
to be swapped over for an u32 write out.Rather create another data variable to manipulate this structure.
Create a new union vnt_phy_field_swap with struct vnt_phy_field,
the u16 word swap and the u32 write out.Signed-off-by: Malcolm Priestley
Signed-off-by: Greg Kroah-Hartman
18 Aug, 2014
1 commit
-
DBG_PRT uses are unnecessarily complex.
Convert DBG_PRT msglevel to pr_.
This changes the KERN_ type of several uses.
It also enables dynamic_debug for the pr_debug conversions.This patch can be a prelude to converting these pr_
uses to dev_ as appropriate.Other changes:
Realign arguments of these conversions.
Remove now unused static int msglevel declarations.
Remove now unused DBG_PRT #define.Compile tested only.
Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman
17 Aug, 2014
4 commits
-
Repacing void *pDeviceHandler
Signed-off-by: Malcolm Priestley
Signed-off-by: Greg Kroah-Hartman -
There is already a function to get next TBTT.
Replace code with CARDqGetNextTBTT.
Signed-off-by: Malcolm Priestley
Signed-off-by: Greg Kroah-Hartman -
Use do_div to compute equation as shown replacing existing code.
Signed-off-by: Malcolm Priestley
Signed-off-by: Greg Kroah-Hartman -
Replace the variables with u64/__le64.
The endian variant is needed in some places endian correction is
needed.Signed-off-by: Malcolm Priestley
Signed-off-by: Greg Kroah-Hartman
28 Jul, 2014
5 commits
-
This fixes the "trailing statements should be on next line" checkpatch
warning.Signed-off-by: Guillaume Clement
Signed-off-by: Greg Kroah-Hartman -
Lots of printk are used in vt6655, replace them with the pr_*
equivalent.Signed-off-by: Guillaume Clement
Signed-off-by: Greg Kroah-Hartman -
This fixes several spaces added just before a newline in debug
strings, reported by checkpatch.Signed-off-by: Guillaume Clement
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the missing blank lines after declarations in vt6655
reported by checkpatch.Signed-off-by: Guillaume Clement
Signed-off-by: Greg Kroah-Hartman -
Many return statements in void function were present at the end of
functions, with no effect. They now are removed.This fixes a bunch of checkpatch warnings.
Signed-off-by: Guillaume Clement
Signed-off-by: Greg Kroah-Hartman
23 Jul, 2014
2 commits
-
Some variables are used only in the context of their .c file, which
gives warnings with sparse.Signed-off-by: Guillaume Clement
Signed-off-by: Greg Kroah-Hartman -
PortOffset was an unsigned long, but used as an pointer to io
memory. Sometimes it was not properly cast before use, which caused
many warning by sparse.By updating its type to void __iomem *, and reflecting the changes
where it is needed, this removes most of those warnings.Signed-off-by: Guillaume Clement
Signed-off-by: Greg Kroah-Hartman
17 Jul, 2014
1 commit
-
Checkpatch fix - Add missing blank line after variable declaration
Signed-off-by: Igor Bezukh
Signed-off-by: Greg Kroah-Hartman
20 Jun, 2014
1 commit
-
Remove a totally unnecessary typedef and rename it to lowercase.
This is more readable now.Signed-off-by: Martin Kepplinger
Signed-off-by: Greg Kroah-Hartman
16 May, 2014
2 commits
-
This patchs fixes tons of warnings such as:
WARNING: braces {} are not necessary for single statement blocks
#354: FILE: drivers/staging/vt6655/wmgr.c:354:
+ for (ii = 0; ii < WLAN_BSSID_LEN; ii++) {
+ pMgmt->abyDesireBSSID[ii] = 0xFF;
+ }Please note: this patch only fixes bracing issues (and there is still a
lot to do); so if you run checkpatch it _will_ throw a lot of errors.
Use --test-only=bracesSigned-off-by: Guido Martínez
Signed-off-by: Greg Kroah-Hartman -
Remove dead code in many places on this driver.
Signed-off-by: Guido Martínez
Signed-off-by: Greg Kroah-Hartman
19 Apr, 2014
1 commit
-
Comments mention a function CARDbSetBasicRate, but it never existed in
the source tree. Remove all mention of it.Signed-off-by: Guido Martínez
Signed-off-by: Greg Kroah-Hartman
11 Nov, 2013
2 commits
-
This patch deletes any unneeded semicolons in driver vt6655 as detected
by coccinelle.Signed-off-by: Teodora Baluta
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following type of coccinelle detected warnings for
driver vt6655:WARNING: Comparison to bool
Signed-off-by: Teodora Baluta
Signed-off-by: Greg Kroah-Hartman
26 Mar, 2013
3 commits
-
Remove a bunch of useless vertical whitespace.
Convert 3 or more consecutive newlines to 2.
Remove blank lines after open brace and before close brace.Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman -
Returns aren't functions, remove the parentheses to be
more kernel style like.Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman -
Move braces around to be more kernel like.
Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman
19 Mar, 2013
1 commit
-
Neatening only.
git diff -w shows no differences.Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman
05 Sep, 2012
3 commits
-
Signed-off-by: Justin P. Mattock
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Justin P. Mattock
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Justin P. Mattock
Signed-off-by: Greg Kroah-Hartman
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
17 Nov, 2010
1 commit
-
Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman
03 Aug, 2010
3 commits
-
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman
25 Jun, 2010
3 commits
-
Replace all occurrences with unsigned char type.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Replace all occurrences with unsigned short type.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Replace all occurrences with unsigned long type, except for pointer fields that
should be u32 in packed structures and 8-byte-aligned 8 byte long structure
QWORD.Thanks to Jiri Slaby for pointing out that simply replacing by unsigned long is
wrong on x86-64 arch.Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman
23 Jun, 2010
2 commits
-
Use unsigned long instead.
Signed-off-by: Charles Clément
-
Move functions managing the channel mapping to a new channel.c file, as done in
the staging VT6656 driver. The function names contained in card.c were prefixed
with CARD followed by the first letter of the return code, remove this and use
more coherent function names.The following functions moved and were renamed:
ChannelValid -> is_channel_valid
CARDbSetChannel -> set_channel
CARDvInitChannelTable -> init_channel_table
CARDbyGetChannelMapping -> get_channel_mapping
CARDvSetCountryInfo -> set_country_info
CARDbySetSupportChannels -> set_support_channels
CARDbChannelGetList -> channel_get_list
CARDvSetCountryIE -> set_country_IE
CARDbGetChannelMapInfo -> get_channel_map_info
CARDvSetChannelMapInfo -> set_channel_map_info
CARDvClearChannelMapInfo -> clear_channel_map_info
CARDbyAutoChannelSelect -> auto_channel_select
CARDbyGetChannelNumber -> get_channel_numberSigned-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman
19 Jun, 2010
2 commits
-
Use unsigned short * instead.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Use unsigned char * instead.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman