Commit 22ea3a4b authored by Pedro Orlando's avatar Pedro Orlando Committed by Greg Kroah-Hartman

staging: rtl8192e: Fix parenthesis alignment

Fix parenthesis alignment in _rtl92e_wx_set_encode_ext to fix
checkpatch warning:

CHECK: Alignment should match open parenthesis
Signed-off-by: default avatarPedro Orlando <scramblerdoodle@gmail.com>
Link: https://lore.kernel.org/r/20240822002658.33672-1-scramblerdoodle@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e79bb28b
...@@ -675,7 +675,7 @@ static int _rtl92e_wx_set_encode_ext(struct net_device *dev, ...@@ -675,7 +675,7 @@ static int _rtl92e_wx_set_encode_ext(struct net_device *dev,
u8 idx = 0, alg = 0, group = 0; u8 idx = 0, alg = 0, group = 0;
if ((encoding->flags & IW_ENCODE_DISABLED) || if ((encoding->flags & IW_ENCODE_DISABLED) ||
ext->alg == IW_ENCODE_ALG_NONE) { ext->alg == IW_ENCODE_ALG_NONE) {
ieee->pairwise_key_type = ieee->group_key_type ieee->pairwise_key_type = ieee->group_key_type
= KEY_TYPE_NA; = KEY_TYPE_NA;
rtl92e_cam_reset(dev); rtl92e_cam_reset(dev);
...@@ -710,7 +710,7 @@ static int _rtl92e_wx_set_encode_ext(struct net_device *dev, ...@@ -710,7 +710,7 @@ static int _rtl92e_wx_set_encode_ext(struct net_device *dev,
rtl92e_set_swcam(dev, idx, idx, alg, broadcast_addr, key); rtl92e_set_swcam(dev, idx, idx, alg, broadcast_addr, key);
} else { } else {
if ((ieee->pairwise_key_type == KEY_TYPE_CCMP) && if ((ieee->pairwise_key_type == KEY_TYPE_CCMP) &&
ieee->ht_info->current_ht_support) ieee->ht_info->current_ht_support)
rtl92e_writeb(dev, 0x173, 1); rtl92e_writeb(dev, 0x173, 1);
rtl92e_set_key(dev, 4, idx, alg, rtl92e_set_key(dev, 4, idx, alg,
(u8 *)ieee->ap_mac_addr, 0, key); (u8 *)ieee->ap_mac_addr, 0, key);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment