|
@@ -27,15 +27,15 @@
|
|
int rsi_send_data_pkt(struct rsi_common *common, struct sk_buff *skb)
|
|
int rsi_send_data_pkt(struct rsi_common *common, struct sk_buff *skb)
|
|
{
|
|
{
|
|
struct rsi_hw *adapter = common->priv;
|
|
struct rsi_hw *adapter = common->priv;
|
|
- struct ieee80211_hdr *tmp_hdr = NULL;
|
|
|
|
|
|
+ struct ieee80211_hdr *tmp_hdr;
|
|
struct ieee80211_tx_info *info;
|
|
struct ieee80211_tx_info *info;
|
|
struct skb_info *tx_params;
|
|
struct skb_info *tx_params;
|
|
- struct ieee80211_bss_conf *bss = NULL;
|
|
|
|
|
|
+ struct ieee80211_bss_conf *bss;
|
|
int status = -EINVAL;
|
|
int status = -EINVAL;
|
|
u8 ieee80211_size = MIN_802_11_HDR_LEN;
|
|
u8 ieee80211_size = MIN_802_11_HDR_LEN;
|
|
- u8 extnd_size = 0;
|
|
|
|
|
|
+ u8 extnd_size;
|
|
__le16 *frame_desc;
|
|
__le16 *frame_desc;
|
|
- u16 seq_num = 0;
|
|
|
|
|
|
+ u16 seq_num;
|
|
|
|
|
|
info = IEEE80211_SKB_CB(skb);
|
|
info = IEEE80211_SKB_CB(skb);
|
|
bss = &info->control.vif->bss_conf;
|
|
bss = &info->control.vif->bss_conf;
|