ieee80211_is_empty_essid() is unused, remove it.
Signed-off-by: Ivan Safonov
---
drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 17 -
drivers/staging/rtl8188eu/include/ieee80211.h | 3 ---
2 files changed, 20 deletions(-)
diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee8
Create mon_recv_decrypted_recv() to change rtl88eu_mon_recv_hook()
without affect to rtl88eu_mon_xmit_hook().
Signed-off-by: Ivan Safonov
---
drivers/staging/rtl8188eu/os_dep/mon.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8188
Length of IV/ICV fields calculated here, so trim these field here too.
Signed-off-by: Ivan Safonov
---
drivers/staging/rtl8188eu/core/rtw_recv.c | 17 ++---
drivers/staging/rtl8188eu/os_dep/mon.c| 19 ---
2 files changed, 14 insertions(+), 22 deletions(-)
diff --
It is useful to remove IV/ICV from rtl88eu_mon_recv_hook().
Also unprotect_frame() will be very short without skb_(pull|trim).
Signed-off-by: Ivan Safonov
---
drivers/staging/rtl8188eu/os_dep/mon.c | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/drivers/stagi
IV/ICV should be trimmed immediately after decoding
(this is a decryptor job).
Trim IV/ICV inside decrypt() for SW decrypted frames,
for HW decrypted - before rtl88eu_mon_recv_hook().
Adopt frames receive process to work without IV/ICV fields.
Signed-off-by: Ivan Safonov
---
drivers/staging/rt
Remove unused RTW_IEEE80211_FCTL_*, RTW_IEEE80211_FTYPE_*,
RTW_IEEE80211_STYPE_*, IEEE80211_STATMASK_*, IEEE80211_DEFAULT_*,
BEACON_PROBE_SSID_ID_POSITION, MFIE_TYPE_*, IEEE80211_DTIM_*
and IEEE80211_PS_*.
Signed-off-by: Ivan Safonov
---
drivers/staging/rtl8188eu/include/ieee80211.h | 91 ---
ieee80211_get_hdrlen is unused, remove it and all corresponding code.
Signed-off-by: Ivan Safonov
---
drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 27 --
drivers/staging/rtl8188eu/include/ieee80211.h | 13 -
2 files changed, 40 deletions(-)
diff --git a/
On Mon, May 1, 2017 at 5:40 PM, Greg KH wrote:
> On Mon, May 01, 2017 at 04:19:48PM +0530, Adheer Chandravanshi wrote:
>> Fix style issues as reported by checkpatch.pl
>
> That's really vague, you need to be specific, and only fix one type of
> thing per patch.
>
> thanks,
>
> greg k-h
Thanks for
Ensure checkpatch compliance
Signed-off-by: Justin Vreeland
Reviewed-by: Bastien Nocera
---
v2:
- Added commit message
- Added Reviewed-by tag
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/hal/
Ensure checkpatch compliance
Signed-off-by: Justin Vreeland
---
v2:
- Added commit message
- Fixed overly long lines
drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 18 --
drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c | 12 ++--
drivers/staging/rtl8723bs/hal/rtl8
Enclosing macros with complex values ensures expression is evaluated as
expected.
Signed-off-by: Justin Vreeland
---
v2:
- Added spaces around plus signs
- Fixed line over 80 columns
- Added commit message
drivers/staging/rtl8723bs/hal/odm.h | 5 -
1 file changed, 4 insertions(+), 1 d
Ensure checkpatch compliance
Signed-off-by: Justin Vreeland
Reviewed-by: Bastien Nocera
---
v2:
- Added commit message
- Added Reviewed-by tag
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/hal/rt
Fix "(foo*)" should be "(foo *)"
Fix "foo * bar" should be "foo *bar"
Signed-off-by: Justin Vreeland
Reviewed-by: Bastien Nocera
---
v2:
- Added Reviewed-by tag
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/st
Wrapping in do-while ensures macros are executed as expected.
Signed-off-by: Justin Vreeland
---
v2:
- Added commit message
drivers/staging/rtl8723bs/hal/odm_debug.h | 81 +--
1 file changed, 45 insertions(+), 36 deletions(-)
diff --git a/drivers/staging/rtl8723bs
Do not initialize static to 0
Do not initialize static to false
Signed-off-by: Justin Vreeland
---
drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 8
drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c | 4 ++--
drivers/staging/rtl8723bs/hal/hal_btcoex.c | 2 +-
drivers/staging/rtl87
v2:
Added commit messages
Fixed overly long lines
Added Bastien Nocera's Reviewed-by tag
- Also fixed commit messages marked reviewed, hope that's OK. The patch
contents are identical.
Justin Vreeland (7):
staging: rtl8723bs: Fix initialization of static variables
staging: rtl8
Fix checkpatch.pl "WARNING: Block comments should align the * on each line"
Signed-off-by: Tiago Koji Castro Shibata
---
drivers/staging/speakup/speakup_dtlk.h | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/speakup/speakup_dtlk.h
b/drivers/staging
On Mon, May 01, 2017 at 02:34:36PM -0700, Greg KH wrote:
> On Mon, May 01, 2017 at 06:11:58PM +0100, Tuomo Rinne wrote:
> >
> > The commit 9304b5b0d4fe ("staging: rtl8192u: Fix sparse warnings in
> > r8192U_dm.c")
> > adds casting of le16 from cpu endianness.
> > This patch converts the u4bAcPara
Remove scope unnecessary scope that is already enforced by the if
statements scope.
Signed-off-by: Tuomo Rinne
---
drivers/staging/rtl8192u/r8192U_dm.c | 66 +---
1 file changed, 32 insertions(+), 34 deletions(-)
diff --git a/drivers/staging/rtl8192u/r8192U_dm.c
This is a resubmission of patch series.
This submission fixes the warnings reported by kbuild robot by passing
in u4bAcParam to cpu_to_le32s using pointer rather than value.
This submission also fixes erroneous line deletion reported by reviewer.
I've also amended the commit message of the last
The commit 9304b5b0d4fe ("staging: rtl8192u: Fix sparse warnings in
r8192U_dm.c")
adds casting of le16 from cpu endianness. Therefore constructing
u4bAcParam potentially using big-endian order.
This patch converts the u4bAcParam parameter back to little-endian after
it has been constructed. Hence
Split the u4bAcParam parameter construction to multiple lines for easier
readability.
Signed-off-by: Tuomo Rinne
---
drivers/staging/rtl8192u/r8192U_dm.c | 28 +++-
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/rtl8192u/r8192U_dm.c
b/driv
On Mon, May 01, 2017 at 06:11:58PM +0100, Tuomo Rinne wrote:
>
> The commit 9304b5b0d4fe ("staging: rtl8192u: Fix sparse warnings in
> r8192U_dm.c")
> adds casting of le16 from cpu endianness.
> This patch converts the u4bAcParam parameter back to little-endian after
> it has been constructed.
>
On Mon, May 01, 2017 at 04:11:30PM +0200, gapalinux wrote:
> On Mon, 1 May 2017 19:59:44 +1000
> "Tobin C. Harding" wrote:
>
> > On Sat, Apr 29, 2017 at 07:54:30PM +0200, Cezary Gapinski wrote:
> > > Sparse spits out a warnings about __le16 and unsigned short
> > > assignment. Change the type of
Fix checkpatch warning:
WARNING: Prefer using '"%s...", __func__' to using 'INTERFACE'
Signed-off-by: Craig Kewley
---
drivers/staging/octeon/ethernet-util.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/octeon/ethernet-util.h
b/drivers/staging/octeon/ether
The commit 9304b5b0d4fe ("staging: rtl8192u: Fix sparse warnings in
r8192U_dm.c")
adds casting of le16 from cpu endianness.
This patch converts the u4bAcParam parameter back to little-endian after
it has been constructed.
Signed-off-by: Tuomo Rinne
---
drivers/staging/rtl8192u/r8192U_dm.c | 2
Fix kbuild warnings by passing in variable using address rather than making a
copy.
Tuomo Rinne (1):
staging: rtl8192u: Convert u4bAcParam back to little-endian after
construction
drivers/staging/rtl8192u/r8192U_dm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.1.4
__
On Mon, 1 May 2017 19:59:44 +1000
"Tobin C. Harding" wrote:
> On Sat, Apr 29, 2017 at 07:54:30PM +0200, Cezary Gapinski wrote:
> > Sparse spits out a warnings about __le16 and unsigned short
> > assignment. Change the type of size and event members of struct
> > hostif_hdr to __le16 and correct c
On Mon, May 01, 2017 at 04:19:48PM +0530, Adheer Chandravanshi wrote:
> Fix style issues as reported by checkpatch.pl
That's really vague, you need to be specific, and only fix one type of
thing per patch.
thanks,
greg k-h
___
devel mailing list
de...@
Fix style issues as reported by checkpatch.pl
Signed-off-by: Adheer Chandravanshi
---
drivers/staging/rtl8723bs/include/rtl8192c_recv.h | 9 +
drivers/staging/rtl8723bs/include/rtl8192c_rf.h | 22 +-
2 files changed, 14 insertions(+), 17 deletions(-)
diff --git a/
On Sat, Apr 29, 2017 at 07:54:30PM +0200, Cezary Gapinski wrote:
> Sparse spits out a warnings about __le16 and unsigned short assignment.
> Change the type of size and event members of struct hostif_hdr
> to __le16 and correct conversion to the proper cpu type.
>
> Signed-off-by: Cezary Gapinski
From: Suniel Mahesh
The function Mk16_le() is calling le16_to_cpu() internally.
le16_to_cpu() takes an argument of type (__le *) but the argument
passed is of type (u16 *). Fixed it by passing the correct argument.
Signed-off-by: Suniel Mahesh
---
.../rtl8192u/ieee80211/ieee80211_crypt_tkip.c
32 matches
Mail list logo