On Mon, Sep 18, 2017 at 10:41:08AM +0200, Johannes Berg wrote: Hello Johannes, > On Mon, 2017-09-18 at 11:04 +0300, Sergey Matyukevich wrote: > > > > */ > > static int qtnf_netdev_close(struct net_device *ndev) > > { > > - netif_carrier_off(ndev); > > qtnf_virtual_intf_cleanup(ndev); > > qtnf_netdev_updown(ndev, 0); > > + netif_carrier_off(ndev); > > return 0; > > } > > This seems unrelated? Hmm... The idea was to make sure that scan is canceled before cfg80211_netdev_notifier_call throws WARN when state is changed to NETDEV_DOWN. However this is not needed if scans are properly canceled in cfg80211_ops handlers. Thanks for catching, will remove. > > - if (timer_pending(&mac->scan_timeout)) > > - del_timer_sync(&mac->scan_timeout); > > qtnf_scan_done(mac, le32_to_cpu(status->flags) & > > QLINK_SCAN_ABORTED); > > and that's related perhaps but not really explained in the changelog, > not sure? That was minor optimization: to remove pedning timer whenever scan is canceled. Sure, it worth mentioning in changelog, will do. By the way, is it ok to send corrected single patch in reply to this discussion ? Or the appropriate way is to resend the whole patch set ? Regards, Sergey