mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mt76: mt7615: remove cfg80211_chan_def from mt7615_set_channel signature
Simplify mt7615_set_channel signature removing cfg80211_chan_def parameter since it is not actually used Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
parent
14663f0c8d
commit
07d557f640
1 changed files with 2 additions and 3 deletions
|
|
@ -130,8 +130,7 @@ static void mt7615_remove_interface(struct ieee80211_hw *hw,
|
|||
mutex_unlock(&dev->mt76.mutex);
|
||||
}
|
||||
|
||||
static int mt7615_set_channel(struct mt7615_dev *dev,
|
||||
struct cfg80211_chan_def *def)
|
||||
static int mt7615_set_channel(struct mt7615_dev *dev)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
|
@ -196,7 +195,7 @@ static int mt7615_config(struct ieee80211_hw *hw, u32 changed)
|
|||
|
||||
if (changed & IEEE80211_CONF_CHANGE_CHANNEL) {
|
||||
ieee80211_stop_queues(hw);
|
||||
ret = mt7615_set_channel(dev, &hw->conf.chandef);
|
||||
ret = mt7615_set_channel(dev);
|
||||
ieee80211_wake_queues(hw);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue