Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228016
b: refs/heads/master
c: 4d0d302
h: refs/heads/master
v: v3
  • Loading branch information
Pekka Enberg authored and Greg Kroah-Hartman committed Nov 10, 2010
1 parent 633927c commit 522c341
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6112063d804aa0afc8d4462b22e36fc259393b64
refs/heads/master: 4d0d302257d3d0eccf371aab49c74b41797bebc3
6 changes: 0 additions & 6 deletions trunk/drivers/staging/winbond/wbhal.h
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,6 @@ struct wb35_descriptor { /* Skip length = 8 DWORD */
void *buffer_address[MAX_DESCRIPTOR_BUFFER_INDEX];
};


#define DEFAULT_NULL_PACKET_COUNT 180000 /* 180 seconds */

#define MAX_TXVGA_EEPROM 9 /* How many word(u16) of EEPROM will be used for TxVGA */
#define MAX_RF_PARAMETER 32

Expand Down Expand Up @@ -517,9 +514,6 @@ struct hw_data {

/* For error recover */
u32 HwStop;

/* For avoid AP disconnect */
u32 NullPacketCount;
};

#endif
9 changes: 0 additions & 9 deletions trunk/drivers/staging/winbond/wbusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,15 +611,6 @@ static void hal_led_control(unsigned long data)
}
break;
}

/* Active send null packet to avoid AP disconnect */
if (pHwData->LED_LinkOn) {
pHwData->NullPacketCount += TimeInterval;
if (pHwData->NullPacketCount >=
DEFAULT_NULL_PACKET_COUNT) {
pHwData->NullPacketCount = 0;
}
}
}

pHwData->time_count += TimeInterval;
Expand Down

0 comments on commit 522c341

Please sign in to comment.