From: Chaehyun Lim Date: Tue, 15 Sep 2015 05:06:27 +0000 (+0900) Subject: staging: wilc1000: remove if defined codes of FORCE_P2P_CLIENT X-Git-Tag: KARO-TX6UL-2015-11-03~34^2~1952 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=72d9af2a150bb5ed6f269616ba0e07fc5a029599;p=karo-tx-linux.git staging: wilc1000: remove if defined codes of FORCE_P2P_CLIENT This patch removes if defined codes of FORCE_P2P_CLIENT. This macro is deleted because it it commented out. Signed-off-by: Chaehyun Lim Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index c3e0892ef240..3ecf5b1772d3 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -2028,11 +2028,7 @@ void WILC_WFI_CfgParseRxAction(u8 *buf, u32 len) while (index < len) { if (buf[index] == GO_INTENT_ATTR_ID) { - #ifdef FORCE_P2P_CLIENT - buf[index + 3] = (buf[index + 3] & 0x01) | (0x0f << 1); - #else buf[index + 3] = (buf[index + 3] & 0x01) | (0x00 << 1); - #endif } if (buf[index] == CHANLIST_ATTR_ID) @@ -2085,11 +2081,7 @@ void WILC_WFI_CfgParseTxAction(u8 *buf, u32 len, bool bOperChan, u8 iftype) while (index < len) { if (buf[index] == GO_INTENT_ATTR_ID) { - #ifdef FORCE_P2P_CLIENT - buf[index + 3] = (buf[index + 3] & 0x01) | (0x00 << 1); - #else buf[index + 3] = (buf[index + 3] & 0x01) | (0x0f << 1); - #endif break; }