Leonid V. Fedorenchik
9ad6902d22
Staging: cx25821: cx25821-video.h: Line up constant
...
Line up integer constant with others.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:46 +02:00
Leonid V. Fedorenchik
3038f638ac
Staging: cx25821: Replace :? by if-else in cx25821-video.c
...
Replace :? operator by equivalent if-else statement where in improves
readability. Don't add else branch if it is not needed.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:46 +02:00
Leonid V. Fedorenchik
e313e1f983
Staging: cx25821: Fix braces around statements in cx25821-video.c
...
Delete braces around single statements.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:46 +02:00
Leonid V. Fedorenchik
527db49d91
Staging: cx25821: Change indent with spaces to tabs 35
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:45 +02:00
Leonid V. Fedorenchik
fa7ce1f41d
Staging: cx25821: Change indent with spaces to tabs 34
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:45 +02:00
Leonid V. Fedorenchik
d2a167c8fc
Staging: cx25821: Change indent with spaces to tabs 33
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:45 +02:00
Leonid V. Fedorenchik
2a51749fd5
Staging: cx25821: Change indent with spaces to tabs 32
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:45 +02:00
Leonid V. Fedorenchik
12fe746fa9
Staging: cx25821: Change indent with spaces to tabs 31
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:45 +02:00
Leonid V. Fedorenchik
16a81efe88
Staging: cx25821: Change indent with spaces to tabs 30
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:45 +02:00
Leonid V. Fedorenchik
5e6440141e
Staging: cx25821: Change indent with spaces to tabs 29
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:45 +02:00
Leonid V. Fedorenchik
f9ef6be389
Staging: cx25821: Change indent with spaces to tabs 28
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:44 +02:00
Leonid V. Fedorenchik
43be3824d9
Staging: cx25821: Change indent with spaces to tabs 27
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:44 +02:00
Leonid V. Fedorenchik
6f87cc6cd9
Staging: cx25821: Change indent with spaces to tabs 26
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:44 +02:00
Leonid V. Fedorenchik
75965b8f6f
Staging: cx25821: Change indent with spaces to tabs 25
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:44 +02:00
Leonid V. Fedorenchik
8a911ed9c0
Staging: cx25821: Change indent with spaces to tabs 24
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:44 +02:00
Leonid V. Fedorenchik
e0b871bd2c
Staging: cx25821: Change indent with spaces to tabs 23
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:44 +02:00
Leonid V. Fedorenchik
70e7f145e4
Staging: cx25821: Change indent with spaces to tabs 22
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:44 +02:00
Leonid V. Fedorenchik
f9a8150c92
Staging: cx25821: Change indent with spaces to tabs 21
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:43 +02:00
Leonid V. Fedorenchik
02859b61cc
Staging: cx25821: Change indent with spaces to tabs 20
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:43 +02:00
Leonid V. Fedorenchik
6678762aa2
Staging: cx25821: Change indent with spaces to tabs 19
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:43 +02:00
Leonid V. Fedorenchik
255c040a42
Staging: cx25821: Change indent with spaces to tabs 18
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:43 +02:00
Leonid V. Fedorenchik
a39bea3a4e
Staging: cx25821: Change indent with spaces to tabs 17
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:43 +02:00
Leonid V. Fedorenchik
eda59eb189
Staging: cx25821: Change indent with spaces to tabs 16
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:43 +02:00
Leonid V. Fedorenchik
3f3d9e4a54
Staging: cx25821: Change indent with spaces to tabs 15
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:43 +02:00
Leonid V. Fedorenchik
21377cdd5e
Staging: cx25821: Change indent with spaces to tabs 14
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:42 +02:00
Leonid V. Fedorenchik
55c37c0d6c
Staging: cx25821: Change indent with spaces to tabs 13
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:42 +02:00
Leonid V. Fedorenchik
20e8a366c0
Staging: cx25821: Change indent with spaces to tabs 12
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:42 +02:00
Leonid V. Fedorenchik
0bf42c9e4f
Staging: cx25821: Change indent with spaces to tabs 11
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:42 +02:00
Leonid V. Fedorenchik
9eadb1711c
Staging: cx25821: Change indent with spaces to tabs 10
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:42 +02:00
Leonid V. Fedorenchik
fb5f2c8010
Staging: cx25821: Change indent with spaces to tabs 9
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:42 +02:00
Leonid V. Fedorenchik
8ebbda49b7
Staging: cx25821: Change indent with spaces to tabs 8
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:42 +02:00
Leonid V. Fedorenchik
e6cf66c1c0
Staging: cx25821: Change indent with spaces to tabs 7
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:41 +02:00
Leonid V. Fedorenchik
8e4ac0741f
Staging: cx25821: Change indent with spaces to tabs 6
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:41 +02:00
Leonid V. Fedorenchik
2ba5149861
Staging: cx25821: Change indent with spaces to tabs 5
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:41 +02:00
Leonid V. Fedorenchik
84cd410e11
Staging: cx25821: Change indent with spaces to tabs 4
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:41 +02:00
Leonid V. Fedorenchik
48eb80ba3d
Staging: cx25821: Change indent with spaces to tabs 3
...
Change indent with spaces to tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:41 +02:00
Leonid V. Fedorenchik
788d0f33b9
Staging: cx25821: Change indent with spaces to tabs 2
...
Change indent with spaces to use tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:41 +02:00
Leonid V. Fedorenchik
69dfe45f7b
Staging: cx25821: Change indent with spaces to tabs 1
...
Changed indent with spaces to use tabs.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:41 +02:00
Leonid V. Fedorenchik
c2c311fd3b
Staging: cx25821: Fix indent in comment
...
Change indent in comment to use tabs instead of spaces.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:41 +02:00
Leonid V. Fedorenchik
692cfb9bec
Staging: cx25821: Fix obscure line endings
...
Fix obscure line endings to less obscure ones. Rationale: readability.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:40 +02:00
Leonid V. Fedorenchik
c1e6e24175
Staging: cx25821: Fix function signatures
...
Fix long function signatures (over 80 characters) and indent them
properly.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:40 +02:00
Leonid V. Fedorenchik
2748f26b6a
Staging: cx25821: Fix labels' placement in cx25821-video.c
...
Delete whitespace before labels.
Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:45:40 +02:00
Roland Vossen
6562382a6d
staging: brcm80211: introduced fullmac function get/set u32 to/from dongle
...
Code cleanup. Avoids repetition of same code fragment.
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:41:54 +02:00
Roland Vossen
4b8b9c8ff6
staging: brcm80211: fullmac sparse endianness encryption keys check
...
Added support by making a distinction between a struct and its little
endian relative.
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:41:54 +02:00
Roland Vossen
a8a4d920c3
staging: brcm80211: cleaned up function brcmf_cfg80211_get_key()
...
Unnecessary endianess conversion and struct member setting was deleted.
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:41:54 +02:00
Roland Vossen
9af07ef1fe
staging: brcm80211: simplification of brcmf_netdev_ioctl_priv()
...
This function is only called from within the driver. Because of that
certain simplifications (not required to lock down user mem pages,
not required to check user permissions) could be performed.
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:41:54 +02:00
Roland Vossen
9dd8eff3da
staging: brcm80211: separated public from private ioctl functions
...
net_device ioctl handler was called both by the OS as by the driver
itself. Split the ioctl handler into two functions to make code paths
more clear.
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:41:54 +02:00
Roland Vossen
7a447be316
staging: brcm80211: macro cleanup in softmac rate.h
...
Substituted/moved/deleted macro's.
Reported-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:41:53 +02:00
Arend van Spriel
2fc6af5b8c
staging: brcm80211: remove brcms_c_get_par and set_par functions
...
The source main.c provided an interface function that handled several
things demultiplexing on given identifier. This interface has been
replaced by separate functions to make it more straightforward.
Reported-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:41:53 +02:00
Arend van Spriel
2e08396da0
staging: brcm80211: remove devpath related nvram variable lookup
...
The lookup function used for the devpath related functions did
not provide a variable table so the lookup would always fail. As
this makes the functions pretty useless these have been removed.
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-16 20:41:53 +02:00