r8192U_wx.c: style: braces all arms of statement
fix checkpatch.pl check: CHECK: braces {} should be used on all arms of this statement in drivers/staging/rtl8192u/r8192U_wx.c Signed-off-by: Bruno Raoult <braoult@gmail.com> Link: https://lore.kernel.org/r/adbbb5243dca7998a31a786eef277bd85068c63a.1616748922.git.braoult@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0c98c5e93b
commit
b95dd839d7
|
@ -429,9 +429,9 @@ static int r8192_wx_set_frag(struct net_device *dev,
|
|||
{
|
||||
struct r8192_priv *priv = ieee80211_priv(dev);
|
||||
|
||||
if (wrqu->frag.disabled)
|
||||
if (wrqu->frag.disabled) {
|
||||
priv->ieee80211->fts = DEFAULT_FRAG_THRESHOLD;
|
||||
else {
|
||||
} else {
|
||||
if (wrqu->frag.value < MIN_FRAG_THRESHOLD ||
|
||||
wrqu->frag.value > MAX_FRAG_THRESHOLD)
|
||||
return -EINVAL;
|
||||
|
|
Loading…
Reference in New Issue