Skip to content

Commit cf9ae8f

Browse files
Rajkumar Manoharanlinvjw
authored andcommitted
ath9k: Initialize channel context ops on ahb probe
Not doing so, could fail on device probing when use_chanctx module param is set to true. Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent 27cfdb0 commit cf9ae8f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • drivers/net/wireless/ath/ath9k

‎drivers/net/wireless/ath/ath9k/ahb.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ static int ath_ahb_probe(struct platform_device *pdev)
113113

114114
irq = res->start;
115115

116+
ath9k_fill_chanctx_ops();
116117
hw = ieee80211_alloc_hw(sizeof(struct ath_softc), &ath9k_ops);
117118
if (hw == NULL) {
118119
dev_err(&pdev->dev, "no memory for ieee80211_hw\n");

0 commit comments

Comments
 (0)