|
@@ -123,15 +123,15 @@ int rsi_send_mgmt_pkt(struct rsi_common *common,
|
|
|
struct sk_buff *skb)
|
|
struct sk_buff *skb)
|
|
|
{
|
|
{
|
|
|
struct rsi_hw *adapter = common->priv;
|
|
struct rsi_hw *adapter = common->priv;
|
|
|
- struct ieee80211_hdr *wh = NULL;
|
|
|
|
|
|
|
+ struct ieee80211_hdr *wh;
|
|
|
struct ieee80211_tx_info *info;
|
|
struct ieee80211_tx_info *info;
|
|
|
- struct ieee80211_bss_conf *bss = NULL;
|
|
|
|
|
|
|
+ struct ieee80211_bss_conf *bss;
|
|
|
struct ieee80211_hw *hw = adapter->hw;
|
|
struct ieee80211_hw *hw = adapter->hw;
|
|
|
struct ieee80211_conf *conf = &hw->conf;
|
|
struct ieee80211_conf *conf = &hw->conf;
|
|
|
struct skb_info *tx_params;
|
|
struct skb_info *tx_params;
|
|
|
int status = -E2BIG;
|
|
int status = -E2BIG;
|
|
|
- __le16 *msg = NULL;
|
|
|
|
|
- u8 extnd_size = 0;
|
|
|
|
|
|
|
+ __le16 *msg;
|
|
|
|
|
+ u8 extnd_size;
|
|
|
u8 vap_id = 0;
|
|
u8 vap_id = 0;
|
|
|
|
|
|
|
|
info = IEEE80211_SKB_CB(skb);
|
|
info = IEEE80211_SKB_CB(skb);
|