[RAMEN9610-13049][common][9610][7885][7872][7570] wlbt: Update P2P GO Channel in...
authorMohit Ghuley <mohit.ghuley@samsung.com>
Fri, 8 Mar 2019 07:29:04 +0000 (12:59 +0530)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:19 +0000 (20:23 +0300)
Update P2P GO Channel in Driver, on receiving
Channel Switched Indication from Firmware.

Change-Id: Idb9f3076231d915d62f61acc73cf34f2f28bf99c
SCSC-Bug-Id: SSB-50359
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
drivers/net/wireless/scsc/rx.c

index 6c5302a0b7e7fc1f4bcaa5bfdf63965b948f4819..d57fbeb8e2e00c9e2aa2537eff1c869ec6720b20 100755 (executable)
@@ -981,6 +981,7 @@ void slsi_rx_channel_switched_ind(struct slsi_dev *sdev, struct net_device *dev,
        chandef.center_freq2 = 0;
 
        ndev_vif->ap.channel_freq = freq; /* updated for GETSTAINFO */
+       ndev_vif->chan = chandef.chan;
 
        cfg80211_ch_switch_notify(dev, &chandef);
        slsi_kfree_skb(skb);