diff options
author | Ajay Singh | 2018-12-02 19:03:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-12-05 09:49:45 +0100 |
commit | 19cb25e1e6a9061e9614e04d477419fc70b81290 (patch) | |
tree | 3cb25e7881fea81a8fbe9a6efe60b7f7b484c98f /drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | |
parent | staging: wilc1000: handle remain on channel cfg ops from cfg80211 context (diff) | |
download | kernel-qcow2-linux-19cb25e1e6a9061e9614e04d477419fc70b81290.tar.gz kernel-qcow2-linux-19cb25e1e6a9061e9614e04d477419fc70b81290.tar.xz kernel-qcow2-linux-19cb25e1e6a9061e9614e04d477419fc70b81290.zip |
staging: wilc1000: handle get_station() ops callback in cfg80211 context
Refactor code to handle the get_station() callback from cfg80211
context. Provided different API's to fetch the station statistics
information in sync or async call. From cfg80211 get_station() ops
callback calls the sync version of API.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wfi_cfgoperations.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 4c9444ede65d..045e365a4105 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -1039,7 +1039,7 @@ static int get_station(struct wiphy *wiphy, struct net_device *dev, } else if (vif->iftype == WILC_STATION_MODE) { struct rf_info stats; - wilc_get_statistics(vif, &stats, true); + wilc_get_statistics(vif, &stats); sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL) | BIT_ULL(NL80211_STA_INFO_RX_PACKETS) | |