|
@@ -51,7 +51,7 @@ wlan_twt_add_session(struct wlan_objmgr_psoc *psoc,
|
|
|
WLAN_TWT_ID);
|
|
|
if (!peer) {
|
|
|
twt_err("Peer object not found "QDF_MAC_ADDR_FMT,
|
|
|
- QDF_MAC_ADDR_REF(peer_mac));
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac->bytes));
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
@@ -93,7 +93,7 @@ wlan_twt_set_command_in_progress(struct wlan_objmgr_psoc *psoc,
|
|
|
WLAN_TWT_ID);
|
|
|
if (!peer) {
|
|
|
twt_err("Peer object not found "QDF_MAC_ADDR_FMT,
|
|
|
- QDF_MAC_ADDR_REF(peer_mac));
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac->bytes));
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
@@ -134,7 +134,7 @@ wlan_twt_init_context(struct wlan_objmgr_psoc *psoc,
|
|
|
WLAN_TWT_ID);
|
|
|
if (!peer) {
|
|
|
twt_err("Peer object not found "QDF_MAC_ADDR_FMT,
|
|
|
- QDF_MAC_ADDR_REF(peer_mac));
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac->bytes));
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
@@ -431,7 +431,7 @@ wlan_twt_sap_peer_is_cmd_in_progress(struct wlan_objmgr_psoc *psoc,
|
|
|
WLAN_TWT_ID);
|
|
|
if (!peer) {
|
|
|
twt_err("Peer object not found "QDF_MAC_ADDR_FMT,
|
|
|
- QDF_MAC_ADDR_REF(peer_mac));
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac->bytes));
|
|
|
return false;
|
|
|
}
|
|
|
|
|
@@ -869,7 +869,7 @@ bool wlan_twt_is_setup_done(struct wlan_objmgr_psoc *psoc,
|
|
|
WLAN_TWT_ID);
|
|
|
if (!peer) {
|
|
|
twt_err("Peer object not found "QDF_MAC_ADDR_FMT,
|
|
|
- QDF_MAC_ADDR_REF(peer_mac));
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac->bytes));
|
|
|
return false;
|
|
|
}
|
|
|
|
|
@@ -911,7 +911,7 @@ bool wlan_twt_is_max_sessions_reached(struct wlan_objmgr_psoc *psoc,
|
|
|
WLAN_TWT_ID);
|
|
|
if (!peer) {
|
|
|
twt_err("Peer object not found "QDF_MAC_ADDR_FMT,
|
|
|
- QDF_MAC_ADDR_REF(peer_mac));
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac->bytes));
|
|
|
return true;
|
|
|
}
|
|
|
|
|
@@ -955,7 +955,7 @@ bool wlan_twt_is_setup_in_progress(struct wlan_objmgr_psoc *psoc,
|
|
|
WLAN_TWT_ID);
|
|
|
if (!peer) {
|
|
|
twt_err("Peer object not found "QDF_MAC_ADDR_FMT,
|
|
|
- QDF_MAC_ADDR_REF(peer_mac));
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac->bytes));
|
|
|
return false;
|
|
|
}
|
|
|
|
|
@@ -1013,7 +1013,7 @@ wlan_twt_set_ack_context(struct wlan_objmgr_psoc *psoc,
|
|
|
WLAN_TWT_ID);
|
|
|
if (!peer) {
|
|
|
twt_err("Peer object not found "QDF_MAC_ADDR_FMT,
|
|
|
- QDF_MAC_ADDR_REF(peer_mac));
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac->bytes));
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
@@ -1069,7 +1069,7 @@ wlan_twt_get_ack_context(struct wlan_objmgr_psoc *psoc,
|
|
|
WLAN_TWT_ID);
|
|
|
if (!peer) {
|
|
|
twt_err("Peer object not found "QDF_MAC_ADDR_FMT,
|
|
|
- QDF_MAC_ADDR_REF(peer_mac));
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac->bytes));
|
|
|
goto err;
|
|
|
}
|
|
|
|
|
@@ -1120,7 +1120,7 @@ bool wlan_twt_is_command_in_progress(struct wlan_objmgr_psoc *psoc,
|
|
|
WLAN_TWT_ID);
|
|
|
if (!peer) {
|
|
|
twt_err("Peer object not found "QDF_MAC_ADDR_FMT,
|
|
|
- QDF_MAC_ADDR_REF(peer_mac));
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac->bytes));
|
|
|
return false;
|
|
|
}
|
|
|
|
|
@@ -1587,7 +1587,7 @@ wlan_twt_set_setup_done(struct wlan_objmgr_psoc *psoc,
|
|
|
WLAN_TWT_ID);
|
|
|
if (!peer) {
|
|
|
twt_err("Peer object not found "QDF_MAC_ADDR_FMT,
|
|
|
- QDF_MAC_ADDR_REF(peer_mac));
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac->bytes));
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -1637,7 +1637,7 @@ wlan_twt_set_session_state(struct wlan_objmgr_psoc *psoc,
|
|
|
WLAN_TWT_ID);
|
|
|
if (!peer) {
|
|
|
twt_err("Peer object not found "QDF_MAC_ADDR_FMT,
|
|
|
- QDF_MAC_ADDR_REF(peer_mac));
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac->bytes));
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -1676,7 +1676,7 @@ wlan_twt_get_session_state(struct wlan_objmgr_psoc *psoc,
|
|
|
|
|
|
if (!peer) {
|
|
|
twt_err("Peer object not found "QDF_MAC_ADDR_FMT,
|
|
|
- QDF_MAC_ADDR_REF(peer_mac));
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac->bytes));
|
|
|
return WLAN_TWT_SETUP_STATE_NOT_ESTABLISHED;
|
|
|
}
|
|
|
|