mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
wireless fixes for v6.0
First set of fixes for v6.0. Small one this time, fix a cfg80211 warning seen with brcmfmac and remove an unncessary inline keyword from wilc1000. -----BEGIN PGP SIGNATURE----- iQFFBAABCgAvFiEEiBjanGPFTz4PRfLobhckVSbrbZsFAmLyj2ERHGt2YWxvQGtl cm5lbC5vcmcACgkQbhckVSbrbZtxaggAptzh9NVi2qCWpCdwIjp+d6CusPoEA4NN eI7PSLecWPA5MVCR5YXSOboVDEtV/wGDOk/N1fKpKVXW02+7nvuLohx5tOclFpms CZtS2thpyEvUW6Zu+bE1Opwyx1v4e3nyznrNXMHW8tcnaVI3BNwYpdp7LRCylv07 JQPNKZvxR5fs8NuIhf0O1TSjPaUSvRrMWfRn3ZioHWVa7+j8qMfnxWk+o6n38zP5 fqbYlhLEBS3Nu9jp3e26KRMRrkAs/OTb/oRc/bPbU68V0VFPquP97Fz0vOobyjzO +B5+qAcaNpP6lSlAmrVyPxFEO1Y0utXblXblrWQsAqox7rt/PXQecg== =2QwM -----END PGP SIGNATURE----- Merge tag 'wireless-2022-08-09' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless Kalle Valo says: ==================== wireless fixes for v6.0 First set of fixes for v6.0. Small one this time, fix a cfg80211 warning seen with brcmfmac and remove an unncessary inline keyword from wilc1000. * tag 'wireless-2022-08-09' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless: wifi: wilc1000: fix spurious inline in wilc_handle_disconnect() wifi: cfg80211: Fix validating BSS pointers in __cfg80211_connect_result ==================== Link: https://lore.kernel.org/r/20220809164756.B1DAEC433D6@smtp.kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
commit
7ba0fa7f32
@ -635,7 +635,7 @@ static inline void host_int_parse_assoc_resp_info(struct wilc_vif *vif,
|
||||
conn_info->req_ies_len = 0;
|
||||
}
|
||||
|
||||
inline void wilc_handle_disconnect(struct wilc_vif *vif)
|
||||
void wilc_handle_disconnect(struct wilc_vif *vif)
|
||||
{
|
||||
struct host_if_drv *hif_drv = vif->hif_drv;
|
||||
|
||||
|
@ -215,5 +215,6 @@ void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length);
|
||||
void *wilc_parse_join_bss_param(struct cfg80211_bss *bss,
|
||||
struct cfg80211_crypto_settings *crypto);
|
||||
int wilc_set_default_mgmt_key_index(struct wilc_vif *vif, u8 index);
|
||||
inline void wilc_handle_disconnect(struct wilc_vif *vif);
|
||||
void wilc_handle_disconnect(struct wilc_vif *vif);
|
||||
|
||||
#endif
|
||||
|
@ -782,9 +782,11 @@ void __cfg80211_connect_result(struct net_device *dev,
|
||||
#endif
|
||||
|
||||
if (cr->status == WLAN_STATUS_SUCCESS) {
|
||||
for_each_valid_link(cr, link) {
|
||||
if (WARN_ON_ONCE(!cr->links[link].bss))
|
||||
break;
|
||||
if (!wiphy_to_rdev(wdev->wiphy)->ops->connect) {
|
||||
for_each_valid_link(cr, link) {
|
||||
if (WARN_ON_ONCE(!cr->links[link].bss))
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
for_each_valid_link(cr, link) {
|
||||
|
Loading…
Reference in New Issue
Block a user