Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3ca6372 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: remove useless comment



This patch removes useless comment that is containing "BugXXXX"

Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1058cc32
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -244,7 +244,6 @@ typedef struct _tstrHostIFGetChan {
	u8 u8GetChan;
} tstrHostIFGetChan;

/*bug3819: Add Scan acomplete notification to host*/
/*!
 *  @struct             tstrScanComplete
 *  @brief			hold received Async. Scan Complete message body
@@ -472,7 +471,6 @@ typedef struct _tstrWidJoinReqExt {
} tstrWidJoinReqExt;
#endif

/*Bug4218: Parsing Join Param*/
#ifdef WILC_PARSE_SCAN_IN_HOST
/*Struct containg joinParam of each AP*/
typedef struct _tstrJoinBssParam {
@@ -504,7 +502,6 @@ typedef struct _tstrJoinBssParam {
	u8 au8Interval[4];
	u8 au8StartTime[4];
} tstrJoinBssParam;
/*Bug4218: Parsing Join Param*/
/*a linked list table containing needed join parameters entries for each AP found in most recent scan*/
typedef struct _tstrBssTable {
	u8 u8noBssEntries;
@@ -573,9 +570,7 @@ tstrWILC_WFIDrv *gu8FlushedJoinReqDrvHandler;
#define FLUSHED_JOIN_REQ 1
#define FLUSHED_BYTE_POS 79     /* Position the byte indicating flushing in the flushed request */

/*Bug4218: Parsing Join Param*/
#ifdef WILC_PARSE_SCAN_IN_HOST
/*Bug4218: Parsing Join Param*/
static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo);
#endif /*WILC_PARSE_SCAN_IN_HOST*/

@@ -843,7 +838,6 @@ s32 Handle_get_IPAddress(tstrWILC_WFIDrv *drvHandler, u8 *pu8IPAddr, u8 idx)
}


/*BugId_5077*/
/**
 *  @brief Handle_SetMacAddress
 *  @details    Setting mac address
@@ -1376,7 +1370,6 @@ static s32 Handle_Scan(tstrWILC_WFIDrv *drvHandler, tstrHostIFscanAttr *pstrHost
	strWIDList[u32WidsCount].u16WIDid = WID_SCAN_CHANNEL_LIST;
	strWIDList[u32WidsCount].enuWIDtype = WID_BIN_DATA;

	/* Bug 4648: Convert channel numbers to start from 0 not 1. */
	if (pstrHostIFscanAttr->pu8ChnlFreqList != NULL && pstrHostIFscanAttr->u8ChnlListLen > 0) {
		int i;

@@ -1528,7 +1521,6 @@ static s32 Handle_Connect(tstrWILC_WFIDrv *drvHandler, tstrHostIFconnectAttr *ps
	wid_site_survey_reslts_s *pstrSurveyResults = NULL;
	#else
	u8 *pu8CurrByte = NULL;
	/*Bug4218: Parsing Join Param*/
	#ifdef WILC_PARSE_SCAN_IN_HOST
	tstrJoinBssParam *ptstrJoinBssParam;
	#endif /*WILC_PARSE_SCAN_IN_HOST*/
@@ -1704,7 +1696,6 @@ static s32 Handle_Connect(tstrWILC_WFIDrv *drvHandler, tstrHostIFconnectAttr *ps

	PRINT_INFO(HOSTINF_DBG, "Saving connection parameters in global structure\n");

	/*Bug4218: Parsing Join Param*/
	#ifdef WILC_PARSE_SCAN_IN_HOST
	ptstrJoinBssParam = (tstrJoinBssParam *)pstrHostIFconnectAttr->pJoinParams;
	if (ptstrJoinBssParam == NULL) {
@@ -2325,7 +2316,6 @@ static s32 Handle_RcvdNtwrkInfo(tstrWILC_WFIDrv *drvHandler, tstrRcvdNetworkInfo
					pstrWFIDrv->strWILC_UsrScanReq.u32RcvdChCount++;

					pstrNetworkInfo->bNewNetwork = true;
					/*Bug4218: Parsing Join Param*/
					/* add new BSS to JoinBssTable */
				#ifdef WILC_PARSE_SCAN_IN_HOST
					pJoinParams = host_int_ParseJoinBssParam(pstrNetworkInfo);
@@ -3477,7 +3467,6 @@ static void Handle_AddBeacon(tstrWILC_WFIDrv *drvHandler, tstrHostIFSetBeacon *p
	*pu8CurrByte++ = ((pstrSetBeaconParam->u32TailLen >> 16) & 0xFF);
	*pu8CurrByte++ = ((pstrSetBeaconParam->u32TailLen >> 24) & 0xFF);

	/* Bug 4599 : if tail length = 0 skip copying */
	if (pstrSetBeaconParam->pu8Tail > 0)
		memcpy(pu8CurrByte, pstrSetBeaconParam->pu8Tail, pstrSetBeaconParam->u32TailLen);
	pu8CurrByte += pstrSetBeaconParam->u32TailLen;
@@ -6951,7 +6940,6 @@ s32 host_int_add_beacon(tstrWILC_WFIDrv *hWFIDrv, u32 u32Interval,
	memcpy(pstrSetBeaconParam->pu8Head, pu8Head, u32HeadLen);
	pstrSetBeaconParam->u32TailLen = u32TailLen;

	/* Bug 4599 : if tail length = 0 skip allocating & copying */
	if (u32TailLen > 0) {
		pstrSetBeaconParam->pu8Tail = kmalloc(u32TailLen, GFP_KERNEL);
		if (pstrSetBeaconParam->pu8Tail == NULL) {
@@ -7279,10 +7267,8 @@ s32 host_int_setup_multicast_filter(tstrWILC_WFIDrv *hWFIDrv, bool bIsEnabled, u



/*Bug4218: Parsing Join Param*/
#ifdef WILC_PARSE_SCAN_IN_HOST

/*Bug4218: Parsing Join Param*/
/**
 *  @brief              host_int_ParseJoinBssParam
 *  @details            Parse Needed Join Parameters and save it in a new JoinBssParam entry
+0 −2
Original line number Diff line number Diff line
@@ -60,7 +60,6 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size)

	PRINT_INFO(HOSTAPD_DBG, "In monitor interface receive function\n");

	/* Bug 4601 */
	if (wilc_wfi_mon == NULL)
		return;

@@ -222,7 +221,6 @@ static netdev_tx_t WILC_WFI_mon_xmit(struct sk_buff *skb,
	struct sk_buff *skb2;
	struct wilc_wfi_radiotap_cb_hdr *cb_hdr;

	/* Bug 4601 */
	if (wilc_wfi_mon == NULL)
		return -EFAULT;

+2 −3
Original line number Diff line number Diff line
@@ -615,7 +615,7 @@ int linux_wlan_get_firmware(perInterface_wlan_t *p_nic)
		goto _fail_;
	}
#endif
	g_linux_wlan->wilc_firmware = wilc_firmware; /* Bug 4703 */
	g_linux_wlan->wilc_firmware = wilc_firmware;

_fail_:

@@ -736,7 +736,7 @@ static int linux_wlan_init_test_config(struct net_device *dev, linux_wlan_t *p_n
	if (!g_linux_wlan->oup.wlan_cfg_set(0, WID_BSS_TYPE, c_val, 1, 0, 0))
		goto _fail_;

	/* c_val[0] = RATE_AUTO; / * bug 4275: Enable autorate and limit it to 24Mbps * / */
	/* c_val[0] = RATE_AUTO; */
	c_val[0] = RATE_AUTO;
	if (!g_linux_wlan->oup.wlan_cfg_set(0, WID_CURRENT_TX_RATE, c_val, 1, 0, 0))
		goto _fail_;
@@ -2012,7 +2012,6 @@ static void __exit exit_wilc_driver(void)
		}
	}

	/* Bug 4600 : WILC_WFI_deinit_mon_interface was already called at mac_close */
	/* WILC_WFI_deinit_mon_interface(); */

	/* if(g_linux_wlan->open_ifcs==0) */
+0 −2
Original line number Diff line number Diff line
@@ -2529,8 +2529,6 @@ int mgmt_tx_cancel_wait(struct wiphy *wiphy,
	pstrWFIDrv->u64P2p_MgmtTimeout = jiffies;

	if (priv->bInP2PlistenState == false) {
		/* Bug 5504: This is just to avoid connection failure when getting stuck when the supplicant
		 *                      considers the driver falsely that it is in Listen state */
		cfg80211_remain_on_channel_expired(priv->wdev,
						   priv->strRemainOnChanParams.u64ListenCookie,
						   priv->strRemainOnChanParams.pstrListenChan,
+1 −1
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ typedef struct {
	unsigned char eth_src_address[NUM_CONCURRENT_IFC][6];
	/* unsigned char eth_dst_address[6]; */

	const struct firmware *wilc_firmware; /* Bug 4703 */
	const struct firmware *wilc_firmware;

	struct net_device *real_ndev;
#ifdef WILC_SDIO
Loading