staging:bcm:Transmit.c:coding style:line over 80 char
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e20487e52b
commit
c837c549ab
1 changed files with 7 additions and 3 deletions
|
@ -89,7 +89,8 @@ int SendControlPacket(struct bcm_mini_adapter *Adapter, char *pControlPacket)
|
||||||
* to the target via the host h/w interface.
|
* to the target via the host h/w interface.
|
||||||
* @return zero(success) or -ve value(failure)
|
* @return zero(success) or -ve value(failure)
|
||||||
*/
|
*/
|
||||||
int SetupNextSend(struct bcm_mini_adapter *Adapter, struct sk_buff *Packet, USHORT Vcid)
|
int SetupNextSend(struct bcm_mini_adapter *Adapter,
|
||||||
|
struct sk_buff *Packet, USHORT Vcid)
|
||||||
{
|
{
|
||||||
int status = 0;
|
int status = 0;
|
||||||
bool bHeaderSupressionEnabled = false;
|
bool bHeaderSupressionEnabled = false;
|
||||||
|
@ -205,7 +206,9 @@ int tx_pkt_handler(struct bcm_mini_adapter *Adapter)
|
||||||
int status = 0;
|
int status = 0;
|
||||||
|
|
||||||
while (!kthread_should_stop()) {
|
while (!kthread_should_stop()) {
|
||||||
/* FIXME - the timeout looks like workaround for racey usage of TxPktAvail */
|
/* FIXME - the timeout looks like workaround
|
||||||
|
* for racey usage of TxPktAvail
|
||||||
|
*/
|
||||||
if (Adapter->LinkUpStatus)
|
if (Adapter->LinkUpStatus)
|
||||||
wait_event_timeout(Adapter->tx_packet_wait_queue,
|
wait_event_timeout(Adapter->tx_packet_wait_queue,
|
||||||
tx_pending(Adapter),
|
tx_pending(Adapter),
|
||||||
|
@ -229,7 +232,8 @@ int tx_pkt_handler(struct bcm_mini_adapter *Adapter)
|
||||||
if (Adapter->bEndPointHalted == TRUE) {
|
if (Adapter->bEndPointHalted == TRUE) {
|
||||||
Bcm_clear_halt_of_endpoints(Adapter);
|
Bcm_clear_halt_of_endpoints(Adapter);
|
||||||
Adapter->bEndPointHalted = false;
|
Adapter->bEndPointHalted = false;
|
||||||
StartInterruptUrb((struct bcm_interface_adapter *)(Adapter->pvInterfaceAdapter));
|
StartInterruptUrb((struct bcm_interface_adapter *)
|
||||||
|
(Adapter->pvInterfaceAdapter));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Adapter->LinkUpStatus && !Adapter->IdleMode) {
|
if (Adapter->LinkUpStatus && !Adapter->IdleMode) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue