Skip to content

Commit

Permalink
Merge tag 'ASB-2021-06-05_4.14-stable' of https://source.codeaurora.o…
Browse files Browse the repository at this point in the history
  • Loading branch information
SonalSingh18 committed Jun 16, 2021
2 parents c0f89ca + 9947d65 commit b7bf554
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/net/wireless/virt_wifi.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <net/cfg80211.h>
#include <net/rtnetlink.h>
#include <linux/etherdevice.h>
#include <linux/math64.h>
#include <linux/module.h>

#include <net/cfg80211.h>
Expand Down Expand Up @@ -173,11 +174,11 @@ static void virt_wifi_scan_result(struct work_struct *work)
scan_result.work);
struct wiphy *wiphy = priv_to_wiphy(priv);
struct cfg80211_scan_info scan_info = { .aborted = false };
u64 tsf = div_u64(ktime_get_boot_ns(), 1000);

informed_bss = cfg80211_inform_bss(wiphy, &channel_5ghz,
CFG80211_BSS_FTYPE_PRESP,
fake_router_bssid,
ktime_get_boot_ns(),
fake_router_bssid, tsf,
WLAN_CAPABILITY_ESS, 0,
(void *)&ssid, sizeof(ssid),
DBM_TO_MBM(-50), GFP_KERNEL);
Expand Down

0 comments on commit b7bf554

Please sign in to comment.