mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
staging: rtl8192e: Fix space and suspect issue
These changes fixed a checkpatch error for space required before the open brace '{' as well as a warning for suspect code indent for conditional statements. Signed-off-by: Oscar Gomez Fuente <oscargomezf@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
362dd4e869
commit
050bd74b70
@ -541,8 +541,8 @@ int rtllib_wx_set_encode_ext(struct rtllib_device *ieee,
|
|||||||
if (idx < 1 || idx > NUM_WEP_KEYS)
|
if (idx < 1 || idx > NUM_WEP_KEYS)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
idx--;
|
idx--;
|
||||||
} else{
|
} else {
|
||||||
idx = ieee->crypt_info.tx_keyidx;
|
idx = ieee->crypt_info.tx_keyidx;
|
||||||
}
|
}
|
||||||
if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) {
|
if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) {
|
||||||
crypt = &ieee->crypt_info.crypt[idx];
|
crypt = &ieee->crypt_info.crypt[idx];
|
||||||
|
Loading…
Reference in New Issue
Block a user