Commit c3f007f5 authored by Nandini Hanumanthagowda's avatar Nandini Hanumanthagowda Committed by Greg Kroah-Hartman

staging: vt6656: fixed open brace placement related error

fixed the following checkpatch error:
	ERROR: that open brace { should be on the previous line
Signed-off-by: default avatarNandini Hanumanthagowda <nandu.hgowda@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 566597a3
...@@ -100,19 +100,16 @@ static void vAdHocBeaconStop(struct vnt_private *pDevice) ...@@ -100,19 +100,16 @@ static void vAdHocBeaconStop(struct vnt_private *pDevice)
*/ */
bStop = false; bStop = false;
if ((pMgmt->eCurrMode == WMAC_MODE_IBSS_STA) && if ((pMgmt->eCurrMode == WMAC_MODE_IBSS_STA) &&
(pMgmt->eCurrState >= WMAC_STATE_STARTED)) (pMgmt->eCurrState >= WMAC_STATE_STARTED)) {
{
if ((pMgmt->uIBSSChannel <= CB_MAX_CHANNEL_24G) && if ((pMgmt->uIBSSChannel <= CB_MAX_CHANNEL_24G) &&
(pMgmt->uScanChannel > CB_MAX_CHANNEL_24G)) (pMgmt->uScanChannel > CB_MAX_CHANNEL_24G)) {
{
bStop = true; bStop = true;
} }
if (pMgmt->uIBSSChannel > CB_MAX_CHANNEL_24G) if (pMgmt->uIBSSChannel > CB_MAX_CHANNEL_24G)
bStop = true; bStop = true;
} }
if (bStop) if (bStop) {
{
//PMESG(("STOP_BEACON: IBSSChannel = %u, ScanChannel = %u\n", //PMESG(("STOP_BEACON: IBSSChannel = %u, ScanChannel = %u\n",
// pMgmt->uIBSSChannel, pMgmt->uScanChannel)); // pMgmt->uIBSSChannel, pMgmt->uScanChannel));
MACvRegBitsOff(pDevice, MAC_REG_TCR, TCR_AUTOBCNTX); MACvRegBitsOff(pDevice, MAC_REG_TCR, TCR_AUTOBCNTX);
...@@ -144,8 +141,7 @@ static void vAdHocBeaconRestart(struct vnt_private *pDevice) ...@@ -144,8 +141,7 @@ static void vAdHocBeaconRestart(struct vnt_private *pDevice)
* (2) VT3253 is programmed as automatic Beacon Transmitting * (2) VT3253 is programmed as automatic Beacon Transmitting
*/ */
if ((pMgmt->eCurrMode == WMAC_MODE_IBSS_STA) && if ((pMgmt->eCurrMode == WMAC_MODE_IBSS_STA) &&
(pMgmt->eCurrState >= WMAC_STATE_STARTED)) (pMgmt->eCurrState >= WMAC_STATE_STARTED)) {
{
//PMESG(("RESTART_BEACON\n")); //PMESG(("RESTART_BEACON\n"));
MACvRegBitsOn(pDevice, MAC_REG_TCR, TCR_AUTOBCNTX); MACvRegBitsOn(pDevice, MAC_REG_TCR, TCR_AUTOBCNTX);
} }
......
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