projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60c2685
)
mt76x0: remove empty sta_notify
author
Stanislaw Gruszka
<sgruszka@redhat.com>
Tue, 4 Sep 2018 14:41:00 +0000
(16:41 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Wed, 19 Sep 2018 10:29:09 +0000
(12:29 +0200)
Remove empty implementation of sta_notify.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt76x0/main.c
b/drivers/net/wireless/mediatek/mt76/mt76x0/main.c
index f58c7ee332e0e0b0941bf20d2d5c41f7c6679f29..24fe92febe50308f1a3f35221d0c84776c07780e 100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt76x0/main.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt76x0/main.c
@@
-150,12
+150,6
@@
mt76x0_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
mutex_unlock(&dev->mt76.mutex);
}
-static void
-mt76x0_sta_notify(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
- enum sta_notify_cmd cmd, struct ieee80211_sta *sta)
-{
-}
-
static void
mt76x0_sw_scan(struct ieee80211_hw *hw,
struct ieee80211_vif *vif,
@@
-224,7
+218,6
@@
const struct ieee80211_ops mt76x0_ops = {
.bss_info_changed = mt76x0_bss_info_changed,
.sta_add = mt76x02_sta_add,
.sta_remove = mt76x02_sta_remove,
- .sta_notify = mt76x0_sta_notify,
.set_key = mt76x02_set_key,
.conf_tx = mt76x0_conf_tx,
.sw_scan_start = mt76x0_sw_scan,