lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080419194206.GA17558@elf.ucw.cz>
Date:	Sat, 19 Apr 2008 21:42:06 +0200
From:	Pavel Machek <pavel@....cz>
To:	kernel list <linux-kernel@...r.kernel.org>, kaszak@...il.com,
	lcostantino@...il.com, linux-wireless@...r.kernel.org
Subject: w35und: one more unneccessary function

Remove one more unnecessary function.

---
commit 8cf2b466620bd533acf20596be1fabfc0b46d992
tree e0bf7b039e545bede22980048669557fc49490e4
parent 6627ff26a459db3e792ec4dc194122c133c150a5
author Pavel <pavel@....ucw.cz> Sat, 19 Apr 2008 21:41:31 +0200
committer Pavel <pavel@....ucw.cz> Sat, 19 Apr 2008 21:41:31 +0200

 .../net/wireless/winbond/winbondport/mlmetxrx.c    |   57 -----------------------
 1 files changed, 0 insertions(+), 57 deletions(-)

diff --git a/drivers/net/wireless/winbond/winbondport/mlmetxrx.c b/drivers/net/wireless/winbond/winbondport/mlmetxrx.c
index dcfdfd4..f58e458 100644
--- a/drivers/net/wireless/winbond/winbondport/mlmetxrx.c
+++ b/drivers/net/wireless/winbond/winbondport/mlmetxrx.c
@@ -298,62 +298,5 @@ MLMERcvFrame(
 	#endif
     return;
 }
-#ifdef _IBSS_BEACON_SEQ_STICK_
-s8 SendBCNullData(PWB32_ADAPTER Adapter, u16 wIdx)
-{
-
-	PUCHAR	msg;
-	struct Data_Frame* msgHeader;
-
-	if ((msg=MLMEGetMMPDUBuffer(Adapter))==NULL)
-	{
-		Adapter->sMlmeFrame.wNumTxMMPDUDiscarded++;
-		return -1;  // fail get free msg buffer
-	}
-	//wConnectIdx = psLOCAL->wConnectedSTAindex;
-	msgHeader = (struct Data_Frame *) &msg[0];
-
-	// setup Frame-Header subfields
-	msgHeader->frame_control.mac_frame_info = MAC_SUBTYPE_DATA_NULL;
-	if (psBSS(wIdx)->bBssType == ESS_NET)
-	    msgHeader->frame_control.to_ds      = 1;
-	else
-	    msgHeader->frame_control.to_ds      = 0;
-    msgHeader->frame_control.from_ds    = 0;
-	msgHeader->frame_control.more_frag 	= 0;
-    msgHeader->frame_control.retry      = 0;
-	msgHeader->frame_control.more_data 	= 0;
-    msgHeader->frame_control.order      = 0;
-	//if (PowerMode  == PWR_SAVE)
-	//    msgHeader->frame_control.pwr_mgt    = 1;
-	//else
-    	msgHeader->frame_control.pwr_mgt    = 0;
-    msgHeader->frame_control.WEP        = 0;
-    msgHeader->duration                 = 0;    // Set by the MDS
-	
-	//memcpy(msgHeader->Addr1, psBSS(Adapter->sLocalPara.wConnectedSTAindex)->abBssID,MAC_ADDR_LENGTH);
-	memcpy( msgHeader->Addr1, "\xff\xff\xff\xff\xff\xff", MAC_ADDR_LENGTH );
-	//memset(msgHeader->Addr1, 0x55, MAC_ADDR_LENGTH);
-	memcpy( msgHeader->Addr2, Adapter->sLocalPara.ThisMacAddress, MAC_ADDR_LENGTH );
-	memcpy( msgHeader->Addr3, psBSS(wIdx)->abBssID, MAC_ADDR_LENGTH );
-	// FrameSequenceNumber is generated by HW-MAC
-
-	OS_MEMORY_CLEAR( &msgHeader->Sequence_Control, MAC_ADDR_LENGTH );
-
-    // now send this message out
-	if (1 == MLMESendFrame( Adapter,
-					(u8 *) &msg[0],
-					//sizeof(struct Data_Frame) - 6,
-					sizeof(struct Data_Frame),
-					FRAME_TYPE_802_11_DATA))
-        return 1;                           // Has sent to the Tx handler.
-	else
-	{
-		//return MLME buffer
-		MLMEfreeMMPDUBuffer(Adapter, msg);
-		return -1;
-	}
-}
-#endif
 
 

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ