> In many cases qtnfmac driver stores state info (like current channel, > interface state) in driver's internal state that is either unused or > duplicates information that is available elsewhere. Cleanup driver > to get rid of not needed cached data. > > It was part of bigger changeset when it was V1. > > Changelist V1->V2: > PATCH 3: > - add missing cpu_to_le16() to CMD len field initialization. > > Igor Mitsyanko (8): > qtnfmac: do not cache AP settings in driver structures > qtnfmac: pass all AP settings to wireless card for processing > qtnfmac: pass channel definition to WiFi card on START_AP command > qtnfmac: get rid of QTNF_STATE_AP_CONFIG > qtnfmac: get rid of QTNF_STATE_AP_START flag > qtnfmac: do not cache BSS state in per-VIF structure > qtnfmac: make encryption info a part of CONNECT command. > qtnfmac: do not cache current channel info in driver's state > > drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 110 ++------------ > drivers/net/wireless/quantenna/qtnfmac/commands.c | 163 +++++++++++---------- > drivers/net/wireless/quantenna/qtnfmac/commands.h | 3 +- > drivers/net/wireless/quantenna/qtnfmac/core.h | 24 +-- > drivers/net/wireless/quantenna/qtnfmac/event.c | 14 -- > drivers/net/wireless/quantenna/qtnfmac/qlink.h | 92 +++++++++--- > .../net/wireless/quantenna/qtnfmac/qlink_util.c | 45 ++++++ > .../net/wireless/quantenna/qtnfmac/qlink_util.h | 3 + > 8 files changed, 224 insertions(+), 230 deletions(-) For the whole patchset: Reviewed-by: Sergey Matyukevich <sergey.matyukevich.os@xxxxxxxxxxxxx>