summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655
diff options
context:
space:
mode:
authorTeodora Baluta <teobaluta@gmail.com>2013-11-10 17:12:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-10 11:15:08 -0800
commit0fd682f644d5773c0107838f5316db3361332a19 (patch)
treeb43da5f71a2d6092fa4492cf7088f9a1c27ec8a0 /drivers/staging/vt6655
parent1208f14a37fde2669b86bf1b1cd1122ad2ba3579 (diff)
downloadlinux-stable-0fd682f644d5773c0107838f5316db3361332a19.tar.gz
linux-stable-0fd682f644d5773c0107838f5316db3361332a19.tar.bz2
linux-stable-0fd682f644d5773c0107838f5316db3361332a19.zip
staging: vt6655: fix assignment of bool to 0
This patch fixes the following warnings detected using coccinelle for drivers/staging/wmgr.c file: drivers/staging/vt6655/wmgr.c:2335:1-22: WARNING: Assignment of bool to 0/1 drivers/staging/vt6655/wmgr.c:2338:1-27: WARNING: Assignment of bool to 0/1 Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r--drivers/staging/vt6655/wmgr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/wmgr.c b/drivers/staging/vt6655/wmgr.c
index 40bb9004a921..a1eff7e514a9 100644
--- a/drivers/staging/vt6655/wmgr.c
+++ b/drivers/staging/vt6655/wmgr.c
@@ -2332,10 +2332,10 @@ vMgrCreateOwnIBSS(
}
// Disable Protect Mode
- pDevice->bProtectMode = 0;
+ pDevice->bProtectMode = false;
MACvDisableProtectMD(pDevice->PortOffset);
- pDevice->bBarkerPreambleMd = 0;
+ pDevice->bBarkerPreambleMd = false;
MACvDisableBarkerPreambleMd(pDevice->PortOffset);
// Kyle Test 2003.11.04