mac80211: make tx() operation return void
[pandora-kernel.git] / drivers / net / wireless / iwlegacy / iwl3945-base.c
index ef94d16..a6af981 100644 (file)
@@ -3170,7 +3170,7 @@ static void iwl3945_mac_stop(struct ieee80211_hw *hw)
        IWL_DEBUG_MAC80211(priv, "leave\n");
 }
 
-static int iwl3945_mac_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
+static void iwl3945_mac_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
 {
        struct iwl_priv *priv = hw->priv;
 
@@ -3183,7 +3183,6 @@ static int iwl3945_mac_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
                dev_kfree_skb_any(skb);
 
        IWL_DEBUG_MAC80211(priv, "leave\n");
-       return NETDEV_TX_OK;
 }
 
 void iwl3945_config_ap(struct iwl_priv *priv)