|
@@ -230,8 +230,7 @@ static void zd1201_usbrx(struct urb *urb)
|
|
|
/* Info frame */
|
|
|
if (type == ZD1201_PACKET_INQUIRE) {
|
|
|
int i = 0;
|
|
|
- unsigned short infotype, framelen, copylen;
|
|
|
- framelen = le16_to_cpu(*(__le16*)&data[4]);
|
|
|
+ unsigned short infotype, copylen;
|
|
|
infotype = le16_to_cpu(*(__le16*)&data[6]);
|
|
|
|
|
|
if (infotype == ZD1201_INF_LINKSTATUS) {
|