|
@@ -1317,7 +1317,6 @@ static int rtllib_rx_InfraAdhoc(struct rtllib_device *ieee, struct sk_buff *skb,
|
|
bool bToOtherSTA = false;
|
|
bool bToOtherSTA = false;
|
|
int ret = 0, i = 0;
|
|
int ret = 0, i = 0;
|
|
|
|
|
|
- hdr = (struct rtllib_hdr_4addr *)skb->data;
|
|
|
|
fc = le16_to_cpu(hdr->frame_ctl);
|
|
fc = le16_to_cpu(hdr->frame_ctl);
|
|
type = WLAN_FC_GET_TYPE(fc);
|
|
type = WLAN_FC_GET_TYPE(fc);
|
|
stype = WLAN_FC_GET_STYPE(fc);
|
|
stype = WLAN_FC_GET_STYPE(fc);
|