Commit 855978bb authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: remove unnecessary bracket used in switch in wilc_mgmt_frame_register()

Cleanup patch to remove the curly braces used in 'case' statement to follow as
per linux standard.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ccb4d02f
...@@ -1741,24 +1741,18 @@ void wilc_mgmt_frame_register(struct wiphy *wiphy, struct wireless_dev *wdev, ...@@ -1741,24 +1741,18 @@ void wilc_mgmt_frame_register(struct wiphy *wiphy, struct wireless_dev *wdev,
switch (frame_type) { switch (frame_type) {
case PROBE_REQ: case PROBE_REQ:
{
vif->frame_reg[0].type = frame_type; vif->frame_reg[0].type = frame_type;
vif->frame_reg[0].reg = reg; vif->frame_reg[0].reg = reg;
} break;
break;
case ACTION: case ACTION:
{
vif->frame_reg[1].type = frame_type; vif->frame_reg[1].type = frame_type;
vif->frame_reg[1].reg = reg; vif->frame_reg[1].reg = reg;
} break;
break;
default: default:
{
break; break;
} }
}
if (!wl->initialized) if (!wl->initialized)
return; return;
......
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