diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/mac80211-ops.c')
| -rw-r--r-- | drivers/net/wireless/ath/ath5k/mac80211-ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath5k/mac80211-ops.c b/drivers/net/wireless/ath/ath5k/mac80211-ops.c index a60a726a140c..1fbe3c0b9f08 100644 --- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c +++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c | |||
| @@ -52,7 +52,7 @@ extern int ath5k_modparam_nohwcrypt; | |||
| 52 | * Mac80211 functions * | 52 | * Mac80211 functions * |
| 53 | \********************/ | 53 | \********************/ |
| 54 | 54 | ||
| 55 | static int | 55 | static void |
| 56 | ath5k_tx(struct ieee80211_hw *hw, struct sk_buff *skb) | 56 | ath5k_tx(struct ieee80211_hw *hw, struct sk_buff *skb) |
| 57 | { | 57 | { |
| 58 | struct ath5k_softc *sc = hw->priv; | 58 | struct ath5k_softc *sc = hw->priv; |
| @@ -60,10 +60,10 @@ ath5k_tx(struct ieee80211_hw *hw, struct sk_buff *skb) | |||
| 60 | 60 | ||
| 61 | if (WARN_ON(qnum >= sc->ah->ah_capabilities.cap_queues.q_tx_num)) { | 61 | if (WARN_ON(qnum >= sc->ah->ah_capabilities.cap_queues.q_tx_num)) { |
| 62 | dev_kfree_skb_any(skb); | 62 | dev_kfree_skb_any(skb); |
| 63 | return 0; | 63 | return; |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | return ath5k_tx_queue(hw, skb, &sc->txqs[qnum]); | 66 | ath5k_tx_queue(hw, skb, &sc->txqs[qnum]); |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | 69 | ||
