ath9k: Fix primary station configuration
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 15 Sep 2014 05:55:54 +0000 (11:25 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Sep 2014 19:00:55 +0000 (15:00 -0400)
commit1030f9fe65602465a89beaa05c3343cf9fd68a88
treed674f53772d2e20152ca28206c5834060ef9620f
parentaf87dd33a17151f46ae50a564a799f9ea9397539
ath9k: Fix primary station configuration

Assign 'primary_sta' to the active primary station
interface after iterating over the list of interfaces.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c