mt7603: fix cleanup order

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2016-03-03 22:05:07 +01:00
parent 43a868c68a
commit 4994946a29
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -218,8 +218,8 @@ void mt76_unregister_device(struct mt76_dev *dev)
{
struct ieee80211_hw *hw = dev->hw;
mt76_tx_free(dev);
ieee80211_unregister_hw(hw);
mt76_tx_free(dev);
}
EXPORT_SYMBOL_GPL(mt76_unregister_device);