Message ID | 1561376969-3999-5-git-send-email-mpubbise@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 1306a30c20525cb7c1e31e50075be37b6dfaa89b |
Delegated to: | Kalle Valo |
Headers | show |
Series | [1/8] ath11k: correct prefix for public functions in mac.c | expand |
diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c index 25f9b50..f878479 100644 --- a/drivers/net/wireless/ath/ath11k/mac.c +++ b/drivers/net/wireless/ath/ath11k/mac.c @@ -659,6 +659,11 @@ static int ath11k_mac_op_config(struct ieee80211_hw *hw, u32 changed) struct ath11k *ar = hw->priv; int ret = 0; + /* mac80211 requires this op to be present and that's why + * there's an empty function, this can be extended when + * required. + */ + mutex_lock(&ar->conf_mutex); /* TODO: Handle configuration changes as appropriate */
Add appropriate comments for no-op functions defined in ath11k_ops in mac.c file. Signed-off-by: Manikanta Pubbisetty <mpubbise@codeaurora.org> --- drivers/net/wireless/ath/ath11k/mac.c | 5 +++++ 1 file changed, 5 insertions(+)